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

Doesn't work in portrait (top home button) orientation on iPad mini #36

Open
michdavydov opened this issue May 20, 2014 · 2 comments
Open

Comments

@michdavydov
Copy link

That's funny! For a long time I didn't understand why it doesn't work. It seems I'm doing all right and have looked through a lot of issues. It should have worked.

By the end of the day I've noticed that my content is covered by something like view with height of status bar and with the same background at the bottom!

It was clear for me. All orientations except portrait (top home button) work fine. It can be reproduced only if you will launch the app in this orientation.

@michdavydov
Copy link
Author

Setting origin of statusBarFrame to zero for all orientations helped me in initializeStatusBarBackgroundView method. It looks so for me now:

CGRect statusBarFrame = (CGRect){ CGPointZero, [UIApplication sharedApplication].statusBarFrame.size };

@michdavydov
Copy link
Author

See issue #37. It's pull request for this issue

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

1 participant