ealeksandrov/EAIntroView

Auto layouts for the iPad pro are working inappropriate .

Closed this issue · 3 comments

Auto layouts for the iPad pro are working inappropriate .

For those who want the fix , please let me know. I fixed it myself for my use.

Yeah please share!

EAIntroView.m , go to method -(void)willMoveToSuperview:(UIView *)newSuperview and replace the line

[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(deviceOrientationDidChange:)
name:UIDeviceOrientationDidChangeNotification
object:nil];

with

[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(deviceOrientationDidChange:)
name:UIApplicationDidChangeStatusBarFrameNotification
object:nil];