Re: Resizing Detail View of UISplitViewController
Re: Resizing Detail View of UISplitViewController
- Subject: Re: Resizing Detail View of UISplitViewController
- From: Fritz Anderson <email@hidden>
- Date: Thu, 09 Jan 2014 10:59:19 -0600
On 9 Jan 2014, at 8:49 AM, Viacheslav Karamov <email@hidden> wrote:
> I'm using a UISplitViewController in my iPad app and I don't really like the way the popover view slides in and covers a third of the screen and stays there when in Portrait mode.
>
> I want it to look like it does when in Landscape mode. How can I resize the overall detail view including navigation bar?
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. Since you don’t need to track the visibility of the sidebar, it’s trivial to build your own. Look up container view / child view controller.
There may be hacks to force UISplitViewController to do what you want, but they’d be harder to do than building your own solution, probably fragile, and probably unacceptable to the App Store reviewers.
— F
--
Fritz Anderson email@hidden
Xcode 5 Start to Finish: Available April 2014 from Addison Wesley
_______________________________________________
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