Is there an existing API for this kind of separated controls for the UINavigationbar seen in Mail.app? More specifically this up and down arrows shown in the picture.
Note that you can create UIBarButtonItem
with any custom view you want. So you can create it with UISegmentedControl as well - it is what's likely used in your example. Workflow should be something like:
momentary
property set to yes) UISegmentedControl with 2 segmentssetImage:forSegmentAtIndex:
method). Then UIBarButtonItem
initialized with this UISegmentedControl as a custom view (using initWithCustomView:
method).