If I create a new single view project and add the following code to ViewController.m
-(void)viewWillLayoutSubviews {
[super viewWillLayoutSubviews];
NSLog(@"%@", NSStringFromUIEdgeInsets(UIApplication.sharedApplication.windows[0].safeAreaInsets));
}
I get the following results with the new iPad 11" and 3rd gen 12.9":
With Status Bar:
{24, 0, 20, 0}
Without Staus Bar:
{0, 0, 20, 0}
Why is the top inset 0 instead of 20 when there is no status bar?
I remove the status bar by setting
UIStatusBarHidden=YES
and UIViewControllerBasedStatusBarAppearance=NO
in the info.plist. The results I get on the iPhones always correctly account for the curved edges.