Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8.3 problem #94

Open
Art-Cube opened this issue Apr 13, 2015 · 4 comments
Open

8.3 problem #94

Art-Cube opened this issue Apr 13, 2015 · 4 comments

Comments

@Art-Cube
Copy link

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

@marianoa
Copy link

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

Thanks.

@Art-Cube
Copy link
Author

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.

@marianoa
Copy link

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).

@Art-Cube
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants