I have developed a split view based applicaiton. And i am trying to add image to root view controller.
For that i made RootView.xib manually and in MainWindow.xib I loaded rootViewController with this xib. But when i try building this i get this error.
Any help in this approach OR any other approach to add image to root view controller will be greatly apprecviated
You probably have to change the super-class of your rootViewController from UITableViewController
to UIViewController
.
If you subclass a UITableViewController on purpose, you need to change it's default view load behaviour just by overriding it's load view method:
- (void)loadView {
[super loadView];
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With