0

I have realised my app is showing a different aspect on the navigation bar for iOS 9.

My app is landscape view always, and I am using a custom height:

- (CGSize)sizeThatFits:(CGSize)size {

    [super sizeThatFits:size];

    CGFloat screenWidth = [UIScreen mainScreen].bounds.size.width;
    CGSize newSize = CGSizeMake(screenWidth, VFSNavigationBarHeight);
    return newSize;
}

It looks perfect on iOS 8 and iOS 7, but the content is not vertical aligned on iOS 9.

enter image description here This is how it looks on iOS 7 and 8.

enter image description here And this is exactly the same code running on iOS 9.

As you can see iOS 9 is moving down the content of the navigation bar, and I'm not sure why. Any idea? Thanks

Pablo A.
  • 2,042
  • 1
  • 17
  • 27

0 Answers0