Re: Mail.app's split view
Re: Mail.app's split view
- Subject: Re: Mail.app's split view
- From: Kyle Sluder <email@hidden>
- Date: Tue, 24 Sep 2013 14:46:44 -0700
On Tue, Sep 24, 2013, at 02:21 PM, Rick Mann wrote:
> Is iPad Mail's split view a standard thing that other apps can easily
> implement?
Yes. It's a UISplitViewController.
> I've noticed that swiping to the right to go back up the navigation
> controller hierarchy only works if you begin the swipe off the screen.
This is called the "interactive pop gesture" (also known as the
"universal back gesture"), and it is implemented by default by
UINavigationController. The gesture recognizer is exposed by the
interactivePopGestureRecognizer property.
> However, in our iPad app that uses popover controllers, you can't do this
> (it dismisses the popover controller instead).
My educated guess is that some other gesture recognizer is canceling the
interactive pop gesture. Probably whatever UIPopoverController uses to
automatically dismiss popovers when the user taps outside of them.
> What I'm wondering is if I should change my popover (which was the
> appropriate standard UI since the iPad came out) to slide in from the
> left. Problem is, we also have a popover on the right, and I don't see
> any way for that one to support swipe-to-the-right-to-go-up.
UISplitViewController has been the standard control for implementing
Mail-like UIs since iOS first shipped for the iPad. Since iOS 6,
UISplitViewController's secondary view controller has been displayed
with a sliding animation, not a popover (see the iOS 6 release notes).
> iOS 7's UI is so broken and inconsistent.
This doesn't sound like an iOS problem at all. It sounds like you were
using the wrong UI elements since at least iOS 6, and arguably since the
you first implemented the feature.
Either that or the user interface you're implementing isn't like Mail's
user interface.
--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