FinalCAD / iOS-KeyboardManager

Simplifies keyboard management on iOS
MIT License
23 stars 1 forks source link

'keyboardBottomLayoutGuideLength' value may be wrong in a FormSheet modal #2

Closed ldesroziers closed 8 years ago

ldesroziers commented 8 years ago

When a UIViewController is being presented modally, using a FormSheet appearance, the view moves right below the status bar when the keyboard appears. However, the keyboardWillAppear: seems to be triggered right before the presentationController moves the view below that status bar.

This could be fixed by triggering the keyboardWillAppear at the next iteration of the run loop using a dispatch_async() on the main queue.