KeyboardLayoutGuide
KeyboardLayoutGuide copied to clipboard
⌨️ KeyboardLayoutGuide, back from when it didn't exist.
- Fixed a height constraint issue on iPad sheets ### Reason: The height constraint adjustment didn't count with the possibility of the `owningView` not reaching the bottom of the window,...
We had an issue when using this when a keyboard was being used in a VC that was presented modally by a tab controller, when the tab bar isn't visible....
It appears to officially support keyboardLayoutGuide from iOS15+. view.keyboardLayoutGuide causes errors **'keyboardLayoutGuide' is only available in iOS 15.0 or newer**  Reference: https://developer.apple.com/documentation/uikit/uiview/3752221-keyboardlayoutguide
`Notification.keyboardHeight == screenHeight` when you move the floating keyboard
There are cases, when keyboard doesn't intersect view controller's view: e.g. view controller is shown modally with modalPresentationStyle == .formSheet on iPad, however keyboardLayoutGuide is shrinked by the height of...
 
Views that are placed inside of of the safe area and aren't touching the edges don't have a safe area. Since the keyboard takes into account safe area anyway, pulling...
fixes: https://github.com/freshOS/KeyboardLayoutGuide/issues/33 fixes: https://github.com/freshOS/KeyboardLayoutGuide/issues/37 It turns out that formSheet automatically adjusts its position when keyboard is shown. So I needed to fallback to use `keyboardDidChangeFrameNotification` instead of `keyboardWillChangeFrameNotification` in this...
Hi. I have been using this library for every project I have worked on. Never really had a problem. However this last project we decided using SnapKit. I have set...