• 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: Auto Layout Problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Auto Layout Problems


  • Subject: Re: Auto Layout Problems
  • From: Dave <email@hidden>
  • Date: Thu, 03 Sep 2015 18:35:18 +0100

Hi Zack,

> 1) Add them
> 2) Position the views by typing numbers in manually rather than dragging
> 3) Xcode->Editor->Resolve Auto Layout Issues->Update Frames (either Selected Views or All Views)
> 4) If the view blows up: undo, then find the uncooperative constraint and fix its numbers and repeat #3
> 5) After performing #3 for the eleventeenth time: Xcode->Preferences...->Key Bindings, enter “frame” and add keyboard shortcuts for Resolve Auto Layout Issues
> 6) Never, ever use Update Constraints, Add Missing Constraints, or Reset to Suggested Constraints (as these corrupt the hard won constraints that have been entered so far)
>

Thanks for this, it’s stopped me from feeling like a was going crazy!

All the Best
Dave



 _______________________________________________
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


  • Prev by Date: Re: Auto Layout Problems
  • Next by Date: Re: LLDB variable visualizer for Qt Classes
  • Previous by thread: Re: Auto Layout Problems
  • Next by thread: Setting key equivalent for menu items in IB?
  • Index(es):
    • Date
    • Thread