How can we create a new CustomizeViewController
like UIViewController
, UITableViewController
, an开发者_JAVA技巧d etc
...
If anyone having some idea about this please share with us.
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
How can we create a new CustomizeViewController like UIViewController
UIViewController *CustomizeViewController = [[UIViewController alloc] init];
CustomizeViewController.view = whateverViewYouHave;
精彩评论