MTStatusBarOverlay
MTStatusBarOverlay copied to clipboard
iOS 9 beta 4 problem (iPad)
When testing the overlay in iOS 9 on iPad, the overlay takes over the entire screen and/or is positioned incorrectly. I have created a sample project with just the sample code:
-(IBAction)showStatus:(id)sender {
MTStatusBarOverlay *overlay = [MTStatusBarOverlay sharedInstance];
overlay.animation = MTStatusBarOverlayAnimationFallDown; // MTStatusBarOverlayAnimationShrink
overlay.detailViewMode = MTDetailViewModeHistory; // enable automatic history-tracking and show in detail-view
//overlay.delegate = self;
overlay.progress = 0.0;
[overlay postMessage:@"Following @myell0w on Twitter…"];
overlay.progress = 0.1;
// ...
[overlay postMessage:@"Following myell0w on Github…" animated:NO];
overlay.progress = 0.5;
// ...
[overlay postImmediateFinishMessage:@"Following was a good idea!" duration:2.0 animated:YES];
overlay.progress = 1.0;
}
Hello, please try this change, it helps in my case: https://github.com/nihilenz/MTStatusBarOverlay/commit/565488e26fdca4b85b594ec6616de4b8fcc8bed1
@nihilenz it helped, thx!
@nihilenz Also helped Thanx!
@wmenge Please close the issue
@nihilenz This fix works great if the app is launched in portrait orientation, but appears to break if the app is launched in landscape.
Hello, When we display message on status bar using MTStatusbaroverlay class then message doesn't display properly in portrait & landscape mode on iOS 9 devices. Its working fine on iOS 8 or lower devices.
Any update regarding orientation issue on iPad IOS 9?