I'm starting from ground zero in Xcode 6.2, Mac OS 10.10.1, and iOS 8.2 in the 
simulator.

What I'm doing is getting the feel of Auto Layout in a 1 screen iOS app and 
seeing how the storyboard preview works, getting a feel for the constraints on 
all devices and seeing how well preview works.

So, I just created a sample 1 view app and in the storyboard's first scene that 
puts a 600 x 600 view on the screen, I am placing one view with an orange 
background inside.

The orange view is positioned at 20, 20 and I've control dragged constraints to 
use leading spaces to the containing view so that it will stay 20 pixels from 
the top and left and will also stretch to stay 20 pixels from the right of the 
parent view.

In the Storyboard's Assistant Editor, I've selected Preview and have added all 
iPhone and iPad sizes.  The orange view doesn't display at all in any of them.

However, when I run the app in the Simulator, for every device the orange view 
displays as expected.

If I add a UILabel, it appears in all 4 devices in the preview pane instantly.

Why doesn't the preview show a UIView with a 100% opaque background if it 
displays perfectly in the Simulator.

I'd expect this to be a pretty simple case.

I can provide the sample case and screenshot if anyone's interested.  

Thanks in advance.

Alex Zavatone
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to