I am using UITableViewController in sidebar and I am having status bar as white in my application. I am using a SidebarDemo Library with SWRevealViewController in my application. Everything is working fine, only my issue is when I open my Sidebar , it show white space on top, that is little weired in the application and mentioned in screenshot below.
I tried hiding my status bar by code below
[[UIApplication sharedApplication] setStatusBarHidden:YES];
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];
// self.edgesForExtendedLayout=UIRectEdgeNone;
// self.extendedLayoutIncludesOpaqueBars=NO;
// self.automaticallyAdjustsScrollViewInsets=NO;
//self.tableView.contentInset = UIEdgeInsetsMake(20.0f, 20.0f, 0.0f, 0.0f);
self.tableView.tableFooterView = [[UIView alloc] initWithFrame:CGRectZero];
self.tableView.tableHeaderView = [[UIView alloc] initWithFrame:CGRectZero];
self.tableView.contentInset = UIEdgeInsetsMake(20, 0, 0, 0);
self.tableView.contentOffset = CGPointMake(0, -20);
But tableView is not moving up. My Sidebar Class having heading of Profile in TableView is inherited from UITableViewController. Please advice how to resolve this issue.