• 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: Collection View Storyboard layout wrong in Xcode 8.x
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Collection View Storyboard layout wrong in Xcode 8.x


  • Subject: Re: Collection View Storyboard layout wrong in Xcode 8.x
  • From: Fritz Anderson <email@hidden>
  • Date: Wed, 28 Sep 2016 11:34:59 -0500

[READERS: I’ve addressed only one of the OP’s concerns.]

On 27 Sep 2016, at 5:58 PM, Doug Hill <email@hidden> wrote:
>
> • In Xcode 7.x all of my view controllers in my main Storyboard had their views sized to 600 x 600. I then open this storyboard in Xcode 8, and it asks me to pick a size class (e.g. compact width, regular height) to start with. Now all my views in the storyboard have their autolayout constraints broken since everything is still laid out for 600 x 600 but the widths/heights of the views are adjusted to the size class I picked above. There are numerous autolayout warnings that everything is laid out wrong, and I now I appear to need to re-layout ALL my views in the storyboard to correct for these problems.

One interpretation of what you’re saying is that you have lots of yellow triangles. Click the triangle at the top-right corner of a view controller scene in which one appears; you’ll see a list of warnings that this or that view is constrained to certain bounds, and isn’t currently of that size.

Click one of the warning triangles. Xcode should explain, and offer a number of options. Select the first (Update Frames). Check the box that says “Apply to all frames in container”. Click “Fix Misplacement”. That will conform all views to their constraints, clearing those warnings. If you’re lucky, you’ll have cleared all of them.


	— F



 _______________________________________________
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: Collection View Storyboard layout wrong in Xcode 8.x
      • From: Doug Hill <email@hidden>
    • Re: Collection View Storyboard layout wrong in Xcode 8.x
      • From: Laurent Daudelin <email@hidden>
References: 
 >Collection View Storyboard layout wrong in Xcode 8.x (From: Doug Hill <email@hidden>)

  • Prev by Date: Re: cannot use macros like CGPointMake in xcode8 debugger?
  • Next by Date: Re: Collection View Storyboard layout wrong in Xcode 8.x
  • Previous by thread: Collection View Storyboard layout wrong in Xcode 8.x
  • Next by thread: Re: Collection View Storyboard layout wrong in Xcode 8.x
  • Index(es):
    • Date
    • Thread