How to create UI programmatically like "Settings UI" iPad?

I am developing iPad app and want to create settings UI like iPad have with all orientation.

That is, Left is the list of settings (General, mail, Wifi,video etc) and right side detail of selected setting option. Below are the images:

Answers


The layout of the settings app in the iPad is done using a UISplitViewController.


UIView *view = [[UIView alloc] initWithFrame:[UIScreen mainScreen].applicationFrame];
[view setAutoresizingMask:UIViewAutoresizingFlexibleHeig ht|UIViewAutoresizingFlexibleWidth];
[view setBackgroundColor:[UIColor blueColor]];

after create uiview add your controls into this uiview..


Go through UISplitViewController Class and UITableView Class

UISplitViewController Class Reference

UITableView Class Reference


Need Your Help

How to Run a Python file from Java using an Absolute Path?

java python

I want to run a python script called, for example foo. And I have the absoulute path, lets say:

Cannot see Integration Services Catalogs node in SQL Server Management Studio (SSMS)

sql-server ssis sql-server-2014

I wanted to create a SSIS catalog and the way to create a catalog is to right click on "Integration Services Catalogs" node and select "Create Catalog" option.