Adapting the Car Table to iPad

There is no easy way to fix the issue of the Edit button appearing where the Back button should be. Although it is easy to show both the Back and Edit buttons by using leftItemsSupplementBackButton, this does not fix the deeper problem. Tapping a car cell uses a segue to open the detail in the same menu navigation controller.

There are three basic approaches to solving the issue. First, you could make an iPad-specific copy of the view controller class files and make the required changes. As part of this approach, you would also copy the iPhone view controller to the iPad storyboard and make appropriate changes. The second approach is a variant. You still copy the storyboard view controller, but you use subclassing ...

Get Learning iOS Development: A Hands-on Guide to the Fundamentals of iOS Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.