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

Transparent UI Bars #8

Open
mglagola opened this issue Aug 19, 2014 · 3 comments
Open

Transparent UI Bars #8

mglagola opened this issue Aug 19, 2014 · 3 comments

Comments

@mglagola
Copy link
Owner

There is a bug currently with transparent UI bars. The demo demonstrates this bug. When I would seem to fix this issue for iOS 7, it would not work on iOS 8 and vice versa.

There are solutions to this problem for table view controllers and collection view controllers by manually setting the content offset and scroll offset. However, there is no solution that I have found that fixes the issue with auto layout for normal view controllers. I assume fixing the issue for normal view controllers will fix the issue for all other view controllers.

@Jeehut
Copy link

Jeehut commented Aug 19, 2014

Haven't dived deeper into the new versions source files but if there are separate solutions for both iOS 7 and iOS 8 why not just use a switch (see here: http://stackoverflow.com/questions/3339722/how-to-check-ios-version) and implement both?

@mglagola
Copy link
Owner Author

@Dschee I didn't like solution but if there is no alternative, I may end up doing this.

@stefreak
Copy link
Contributor

my project https://github.com/stefreak/TTLayoutSupport is a solution for this problem, for both iOS 7 and iOS 8 and normal view controllers. It replaces Apples UILayoutSupportConstraints with custom NSLayoutConstraints

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

3 participants