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

UINavigationBar isHidden bugfix #119

Merged
merged 3 commits into from Mar 7, 2014
Merged

UINavigationBar isHidden bugfix #119

merged 3 commits into from Mar 7, 2014

Conversation

mRs-
Copy link
Collaborator

@mRs- mRs- commented Mar 4, 2014

When the navigation bar is hidden via the hidden value of the UINavigationBar the calculation of the position is done wrong.

I added a new static method to fix this bug. I think this should be added to the develop branch as well.

mRs- added 2 commits March 4, 2014 12:24
…the offset of the view is not correctly calculated.

I added the - (BOOL)isNavigationBarInNavigationControllerHidden:(UINavigationController *)navController method to check the navigation controller isNavigationBarHidden property and the navigation controllers navigationBar isHidden property.

In the example project there is a debug value for navigationBar.hidden and it must be removed in the main release.
…roller *)navController is now a static method call.

removed the debug value in the example project

calculating the view height in TSMessageView is now correct
@mRs-
Copy link
Collaborator Author

mRs- commented Mar 4, 2014

@dennisreimann this should be implemented in the develop branch as well.

dennisreimann added a commit that referenced this pull request Mar 4, 2014
Thanks @mRs- for the implementation in #119 🍻
mRs- added a commit that referenced this pull request Mar 7, 2014
UINavigationBar isHidden bugfix
@mRs- mRs- merged commit 4d70619 into KrauseFx:master Mar 7, 2014
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

Successfully merging this pull request may close these issues.

None yet

1 participant