Sunday, September 21, 2014

Adjusting extra space at top of UITableView


To remove the extra space on the top of the UITableView ,
add the following code in the ViewDidLoad method of the UIViewController.

- (void)viewDidLoad {
    [super viewDidLoad];
   self.automaticallyAdjustsScrollViewInsets = NO;
 }

No comments: