• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Xcode 6.2, iOS 8 & Auto Layout.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode 6.2, iOS 8 & Auto Layout.


  • Subject: Xcode 6.2, iOS 8 & Auto Layout.
  • From: Alex Zavatone <email@hidden>
  • Date: Mon, 16 Mar 2015 13:14:33 -0400

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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Xcode 6.2, iOS 8 & Auto Layout.
      • From: Hunter Hillegas <email@hidden>
  • Prev by Date: Problem with Build Analyzer
  • Next by Date: Re: Xcode 6.2, iOS 8 & Auto Layout.
  • Previous by thread: Problem with Build Analyzer
  • Next by thread: Re: Xcode 6.2, iOS 8 & Auto Layout.
  • Index(es):
    • Date
    • Thread