I've created an iPad application with a UITableViewController in the UISplitViewController (and everything works :) Since I'd like the table to use UITableViewStyleGrouped, i added:
- (id)init
{
self = [super initWithStyle:UITableViewStyleGrouped];
if (self != nil) {
// Initialisation code
}
return self;
}
to the root view controller & included it in the .h, but it's never getting called. So, two questions, can I set UITableViewStyleGrouped for a table in a UISplitViewController? And, if so, how?
init won't be called, initWithStyle: or initWithFrame:style: might be called.
edit: waychick was right. - (id) initWithCoder:(NSCoder *) coder
is called.
Same problem. In my case
- (id) initWithCoder:(NSCoder *) coder
is called
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