There UIViewController no method in the UIViewController that needs to be mapped to this IB property. However, since this affects the size and position of the top-level view in relation to the status bar, the software equivalent is likely to be the following: if the status bar is visible:
int statusBarHeight = [UIApplication sharedApplication].statusBarFrame.size.height; CGRect viewFrame = self.view.frame; self.view.frame = CGRectMake(0, statusBarHeight, viewFrame.size.width, viewFrame.size.height - statusBarHeight);
source share