Re: Presenting modal vc repositions root vc

2014-01-27 Thread Rick Mann
Well, by chance I found the cause of the problem, although I don't understand why. In my root view controller, I had this code, based on a StackOverflow answer I found about positioning a custom UIToolbar such that it would not be obscured by the status bar: - (void) viewWillLayoutSubviews {

Re: Presenting modal vc repositions root vc

2014-01-27 Thread David Duncan
On Jan 27, 2014, at 2:44 PM, Rick Mann rm...@latencyzero.com wrote: Well, by chance I found the cause of the problem, although I don't understand why. In my root view controller, I had this code, based on a StackOverflow answer I found about positioning a custom UIToolbar such that it would

Re: Presenting modal vc repositions root vc

2014-01-27 Thread Rick Mann
On Jan 27, 2014, at 14:57 , David Duncan david.dun...@apple.com wrote: Basically a view or view controller should never modify their external coordinate system, and this does that. There are a great many places where a parent view controller or window assume they have full control over the

Re: Presenting modal vc repositions root vc

2014-01-27 Thread Kyle Sluder
On Mon, Jan 27, 2014, at 03:01 PM, Rick Mann wrote: On Jan 27, 2014, at 14:57 , David Duncan david.dun...@apple.com wrote: Basically a view or view controller should never modify their external coordinate system, and this does that. There are a great many places where a parent view

Re: Presenting modal vc repositions root vc

2014-01-27 Thread Rick Mann
On Jan 27, 2014, at 15:31 , Kyle Sluder k...@ksluder.com wrote: Layout guides work just fine regardless of use of storyboards. But because layout guides are owned by the _view controller_, not the view, there is nowhere for IB to offer them in non-storyboard views. Well, since a NIB can be

Re: Presenting modal vc repositions root vc

2014-01-27 Thread Kyle Sluder
On Mon, Jan 27, 2014, at 03:39 PM, Rick Mann wrote: On Jan 27, 2014, at 15:31 , Kyle Sluder k...@ksluder.com wrote: Layout guides work just fine regardless of use of storyboards. But because layout guides are owned by the _view controller_, not the view, there is nowhere for IB to offer

Presenting modal vc repositions root vc

2014-01-25 Thread Rick Mann
I can't figure this out. I've got a view hierarchy that's been working fine. I added a modal, full-screen tutorial to my storyboard that's triggered on a segue from a button in a popover-contained table view. That works fine, too. Now I'm trying to display the same tutorial the first time the

Re: Presenting modal vc repositions root vc

2014-01-25 Thread Kyle Sluder
On Jan 25, 2014, at 4:37 PM, Rick Mann rm...@latencyzero.com wrote: Why is this happening? Why does Apple not test anything any more? You have provided no code and no evidence that you are complying with all view and view controller containment requirements. Please stop accusing other