Re: Resizing Detail View of UISplitViewController
Re: Resizing Detail View of UISplitViewController
- Subject: Re: Resizing Detail View of UISplitViewController
- From: Vyacheslav Karamov <email@hidden>
- Date: Thu, 09 Jan 2014 21:42:10 +0200
Thanks! Good point, but I forgot to say I need the possibility to
hide/show sidebar by tapping nav bar item.
This might be ok for some cases, but I need detail view to be shrunk.
09.01.2014 19:34, Kyle Sluder wrote:
On Jan 9, 2014, at 8:59 AM, Fritz Anderson <email@hidden> wrote:
In other words, you’d like the sidebar to be present at all times, and for the remainder of the screen to be narrow, instead of being covered. Right?
You can’t do that with UISplitViewController.
Really? I'm pretty sure implementing -splitView:shouldHideViewController:inOrientation: to return NO will make the sidebar visible in portrait.
Quoth the docs:
“Prior to iOS 5.0, the first view controller was always hidden in portrait orientations and always shown in landscape orientations. If you do not implement this method in your delegate object, that default behavior remains in effect.”
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden