KeyboardLayoutGuide, back from when it didn't exist. Simply constrain your views to the KeyboardLayoutGuide's top anchor the way you would do it natively. If you add your view in Interface Builder, don't forget to enable the "Remove at build time" checkbox for the bottom constraint. By default, KeyboardLayoutGuide will align your item with the bottom safe area. This is a behaviour that can be opt out by using keyboardLayoutGuideNoSafeArea instead of keyboardLayoutGuide.
Features
- No Subclassing / Protocol inheritance / obscure overrides
- No more keyboard notification handling
- UIKit Friendly
- Takes safeArea into account
- Only animates if view is fully on screen
- Simply constrain your views to the KeyboardLayoutGuide's top anchor the way you would do natively
Categories
User Interface (UI)License
MIT LicenseFollow KeyboardLayoutGuide
Other Useful Business Software
Build Securely on Azure with Proven Frameworks
Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of KeyboardLayoutGuide!