• 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
changing simulated metrics changes constraints
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

changing simulated metrics changes constraints


  • Subject: changing simulated metrics changes constraints
  • From: Matt Neuburg <email@hidden>
  • Date: Thu, 11 Oct 2012 20:46:56 -0700

In the WWDC videos about autolayout and constraints we are encouraged to play with the simulated metrics on the top-level view as a way of trying out our constraints. But my experimentation in Xcode suggests that the results of doing that are disastrous: instead of showing you what would happen given the present constraints and the changed metrics (e.g. changing from iPhone 4 to iPhone 5 screen), Xcode creates a completely different set of constraints! May I presume this is a bug? The workaround is to test constraints only with the simulator, changing the Hardware specification there, but this is laborious, so it would be nice if things worked as advertised. Thx - m.


--
matt neuburg, phd = email@hidden, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 5! http://shop.oreilly.com/product/0636920023562.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com


 _______________________________________________
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: changing simulated metrics changes constraints
      • From: Kevin Cathey <email@hidden>
  • Prev by Date: XML formatting like .xcscheme files?
  • Next by Date: Xcode modifies storyboard when opened for the first time?
  • Previous by thread: XML formatting like .xcscheme files?
  • Next by thread: Re: changing simulated metrics changes constraints
  • Index(es):
    • Date
    • Thread