On 9 Jan 2014, at 8:49 AM, Viacheslav Karamov <[email protected]> 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 protected]
Xcode 5 Start to Finish: Available April 2014 from Addison Wesley
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]