Add a UIViewController property for bottomKeyboardGuide similar to bottomLayoutGuide
| Originator: | gene | ||
| Number: | rdar://24200731 | Date Originated: | 2016-01-14 |
| Status: | Open | Resolved: | |
| Product: | iOS | Product Version: | 9.2 (13C75) |
| Classification: | Enhancement | Reproducible: | N/A |
Summary: As an iOS app developer, implementing proper keyboard presentation and dismissal handling in a UIViewController subclass requires listening and handling multiple keyboard notifications and is prone to repetition and error. It would be very handy to have a property on UIViewController similar to bottomLayoutGuide that represented the lowest vertical extent for content that is intended to appear above a presented keyboard, when a keyboard is presented. This would allow for simple and consistent constraint setup and reduce the likelihood of a poor user experience when keyboard presentation is not correctly or fully handled by the app. A possible name for such a property could be bottomKeyboardGuide or keyboardLayoutGuide. Steps to Reproduce: N/A Expected Results: N/A Actual Results: N/A Version: iOS 9.2 (13C75) Notes: As an example of how we are currently attempting to handle keyboard presentation and dismissal, see http://effortlesscode.com/auto-layout-keyboard-shown-hidden/ Configuration: iPhone 6 Attachments:
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!