MTStatusBarOverlay icon indicating copy to clipboard operation
MTStatusBarOverlay copied to clipboard

8.3 problem

Open Art-Cube opened this issue 9 years ago • 4 comments

iOS 8.3 only, if you start an app in landscape with the status bar showing then rotate to portrait there is an issue. A large black box appears

Art-Cube avatar Apr 13 '15 19:04 Art-Cube

We are seeing the same issue with iOS 8.3 - @Art-Cube have you been able to find a solution?

Thanks.

marianoa avatar Apr 28 '15 19:04 marianoa

Yes, I found I needed a root view controller as such: @interface MTStatusBarViewController : UIViewController @end @implementation MTStatusBarViewController

  • (BOOL)shouldAutorotate {return YES;}
  • (NSUInteger)supportedInterfaceOrientation {return UIInterfaceOrientationMaskAll;} @end

and then in bottom of initWithFrame add as such: self.rootViewController = [[[MTStatusBarViewController alloc] init] autorelease]; Regards,Rob

Date: Tue, 28 Apr 2015 12:30:51 -0700 From: [email protected] To: [email protected] CC: [email protected] Subject: Re: [MTStatusBarOverlay] 8.3 problem (#94)

We are seeing the same issue with iOS 8.3 - @Art-Cube have you been able to find a solution?

Thanks.

— Reply to this email directly or view it on GitHub.

Art-Cube avatar Apr 29 '15 17:04 Art-Cube

Thanks for sharing that code. We tried with those changes and we are still seeing the issue. (the issue seems to happen only on the ipad version of the app).

marianoa avatar Apr 29 '15 19:04 marianoa

Hi, I am using the status bar overlay to add an image to the status bar. I used this 3rd party code because it handled rotation better than the other overlays I found. I am not using much else and have hidden most of the other views. That said, I found I needed to add my image view to the root vc and not to the window itself along with having a root vc which is the code I shared with you. Hope this helps,Rob

Date: Wed, 29 Apr 2015 12:23:26 -0700 From: [email protected] To: [email protected] CC: [email protected] Subject: Re: [MTStatusBarOverlay] 8.3 problem (#94)

Thanks for sharing that code. We tried with those changes and we are still seeing the issue. (the issue seems to happen only on the ipad version of the app).

— Reply to this email directly or view it on GitHub.

Art-Cube avatar Apr 30 '15 09:04 Art-Cube