Don't apply the about screen inset on button-less iPads
- (void)viewDidLayoutSubviews
{
[super viewDidLayoutSubviews];
+ if ([UIDevice currentDevice].userInterfaceIdiom != UIUserInterfaceIdiomPad) {
UIEdgeInsets insets = self.view.window.safeAreaInsets;
UIView *view = ((UIVisualEffectView *)self.view).contentView;
CGRect parentFrame = self.view.frame;
0,
parentFrame.size.width - insets.left - insets.right,
parentFrame.size.height - insets.bottom);
+ }
if (self.view.frame.size.width > self.view.frame.size.height) {
[self layoutForHorizontalLayout];
}
