Tutorial: How To Create An iPad Split View With A Sliding Master Controller Like The Mail App

Typically with a UISplitViewController if you want to keep the entire space of the screen usable by the Detail view of your app then you will place the master (controlling) view within a UIPopOver.

The Mail app does things differently by sliding in the detail view from the left.

Keith Harrison has written an excellent tutorial on how to create a UISplitViewController modeled after the Mail app which has a master view that slides in from the left responding to toolbar presses, and to gestures.

You can find more details on Keith’s site here.  Keith has also created a followup that builds the gesture recognizers using interface builder rather than in code here.

A full example project is included.

©2011 iPhone, iOS 5, iPad SDK Development Tutorial and Programming Tips. All Rights Reserved.

.

DeliciousTwitterTechnoratiFacebookLinkedInEmail


Leave a Reply

Your email address will not be published. Required fields are marked *