O'Reilly logo

Learning iOS Development: A Hands-on Guide to the Fundamentals of iOS Programming by Erica Sadun, Rod Strougo, Maurice Sharp

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required