Q:

UITableViewStyleGrouped is not working

OptionsVC.h    
   @interface OptionsVC : UITableViewController

    .
    .
    .

OtherController.m
    OptionsVC *options = [[OptionsVC alloc]initWithStyle:UITableViewStyleGrouped];

I dont know why but this code is not working, I am getting plain style. How to fix it?

A:

Just set the property Style to Grouped in your xib file 

