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

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow KeyboardLayoutGuide

KeyboardLayoutGuide Web Site

Other Useful Business Software
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of KeyboardLayoutGuide!

Additional Project Details

Operating Systems

Apple iPhone

Programming Language

Swift

Related Categories

Swift User Interface (UI) Software

Registered

2023-06-28