Reputation: 3711
How can we create a new CustomizeViewController
like UIViewController
, UITableViewController
, and etc
...
If anyone having some idea about this please share with us.
Upvotes: 0
Views: 158
Reputation: 19418
How can we create a new CustomizeViewController like UIViewController
UIViewController *CustomizeViewController = [[UIViewController alloc] init];
CustomizeViewController.view = whateverViewYouHave;
Upvotes: 0
Reputation: 51374
You cannot create an view controller from scratch. If you want to create your own view controller, you have to subclass UIViewController like,
@interface CustomizedViewController : UIViewController
And later, if you want to create subclasses of CustomizedViewController, simply extend it,
@interface FurtherCustomizedViewController : CustomizeViewController
Upvotes: 2