EZSwipeController
EZSwipeController copied to clipboard
Top layout guide is ignored on IOS8
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
Workaround:
I added this
override func viewDidLoad() {
view.frame.origin.y = UIApplication.sharedApplication().statusBarFrame.height;
}