Re: changing simulated metrics changes constraints
Re: changing simulated metrics changes constraints
- Subject: Re: changing simulated metrics changes constraints
- From: Kevin Cathey <email@hidden>
- Date: Mon, 15 Oct 2012 09:48:12 -0700
This is a known issue with Simulated Metrics on top level views in XIBs and we are working actively to fix the issue. It should work fine with top level view controllers.
Kevin
On 11 Oct 2012, at 20:46 , Matt Neuburg <email@hidden> wrote:
> 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
_______________________________________________
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