• 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
Re: Xcode 6.2, iOS 8 & Auto Layout.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 6.2, iOS 8 & Auto Layout.


  • Subject: Re: Xcode 6.2, iOS 8 & Auto Layout.
  • From: Hunter Hillegas <email@hidden>
  • Date: Mon, 16 Mar 2015 10:18:48 -0700

Did you give the orange view a width and height? Sounds like you positioned it but didn’t say how big it was. Views with ambiguous layout may show up in all sorts of weird sizes and places.

The UILabel has an intrinsic size based on its contents so that sounds like its removing the ambiguity when its a subview.

> On Mar 16, 2015, at 10:14 AM, Alex Zavatone <email@hidden> wrote:
>
> 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.


 _______________________________________________
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: Alex Zavatone <email@hidden>
References: 
 >Xcode 6.2, iOS 8 & Auto Layout. (From: Alex Zavatone <email@hidden>)

  • Prev by Date: Xcode 6.2, iOS 8 & Auto Layout.
  • Next by Date: Re: Xcode 6.2, iOS 8 & Auto Layout.
  • Previous by thread: Xcode 6.2, iOS 8 & Auto Layout.
  • Next by thread: Re: Xcode 6.2, iOS 8 & Auto Layout.
  • Index(es):
    • Date
    • Thread