EZSwipeController icon indicating copy to clipboard operation
EZSwipeController copied to clipboard

Top layout guide is ignored on IOS8

Open San-Jeevan opened this issue 7 years ago • 1 comments

I have view where top text is 5px below top layout guide.bottom. But rendering on IOS8 (IOS9 is ok), top layout is ignored and my text ends up overlapping the phone clock.

If i exit the app by pressing home button and then open it again, suddenly the view is aligned correctly.

Here is a picture https://1drv.ms/i/s!AtIXCzway-dZx3in0H4hP0j8iZHx

San-Jeevan avatar Oct 12 '16 17:10 San-Jeevan

Workaround:

I added this

  override func viewDidLoad() {
        view.frame.origin.y = UIApplication.sharedApplication().statusBarFrame.height;
}

San-Jeevan avatar Oct 12 '16 17:10 San-Jeevan