Android App Development
iOS App Development
Flutter App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!
Deniel Kerr
Founder. Opencart
Top Partners
In iOS 11 there is some predefined function is not working like get the Keyboard Height “UIKeyboardFrameBeginUserInfoKey” sometimes it returns 0 or sometimes works so it is not compatible with iOS 11 . so for solving this, we have used the compatible function which will work in iOS 11 as well as less iOS version devices.
for this follow this steps:
1: In viewdidload
write this method:
2: Now define this function:
3: Now write the two methods when the keyboard will show or hide.
4: Now keyboard Height will always return the correct value and now you can use according to their need.
Your email address will not be published. Required fields are marked*
Name*
Email*
Save my name email and website in this browser for the next time I comment.
We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies. Learn more about privacy policy
Name
Email
Subject
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.