Split View is iPad specific container, view controller for managing two view controllers side by side, a master in the left and a detail view controller to its right.
Step 1. Create a new project and select Master Detail Application instead of the View Based application and click next, Give the project name and select create.
Step 2. A simple split view controller with a table view in master is created by default.
Step 3. The files created a little bit different from our View Based application. Here, we have the following files created for us.
Step 4. AppDelegate.h file is as follows −
Step 5.The didFinishLaunchingWithOptions method in AppDelegate.m is as follows −
Step 6. MasterViewController.h is as follows −
Step 7. MasterViewController.m is as follows −
Step 8. DetailViewController.h as follows −
Step 9. DetailViewController.m as follows −
Step 10. When we run the application we'll get the following output in landscape mode −
Step 11. We'll get the following output when we switch to the portrait mode −
IOS Related Interview Questions
|C Interview Questions||IPHONE APPS Interview Questions|
|Android Interview Questions||Mobile Testing Interview Questions|
|Java Native Interface (JNI) Interview Questions||JNDI (Java Naming and Directory Interface) Interview Questions|
|Mobile computing Interview Questions||jQuery Mobile Interview Questions|
|Mobile Security Interview Questions||Objective C Interview Questions|
|Mobile Developer Interview Questions||Mobile Application Testing Interview Questions|
|Mobile Marketing Interview Questions|
All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.