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

Not able to use grovingTextView using storyboard autolayout in case i am using opaque navigation bar #29

Open
pramodshukla1011 opened this issue Apr 4, 2018 · 1 comment

Comments

@pramodshukla1011
Copy link

pramodshukla1011 commented Apr 4, 2018

No description provided.

@pramodshukla1011 pramodshukla1011 changed the title Not able to use grovingTextView using storyboard autolayout Not able to use grovingTextView using storyboard autolayout in case i am using opaque navigation bar Apr 5, 2018
@KennethTsang
Copy link
Owner

Thanks @PramodShukla10 ,

In example 1 and 2, I was using the keyboard y position and view.bounds.height to find out the toolbar bottom constraint. It was incorrect because view.bounds.height will be different when the navigation bar is opaque. I fixed it by using UIWindow.main.bounds.height instead of view.bounds.height for calculation.

Hope this can help.

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