m1entus / MZFormSheetPresentationController

MZFormSheetPresentationController provides an alternative to the native iOS UIModalPresentationFormSheet, adding support for iPhone and additional opportunities to setup UIPresentationController size and feel form sheet.
MIT License
973 stars 146 forks source link

alwaysAboveKeyboard does not work #129

Closed reza-khalafi closed 7 years ago

reza-khalafi commented 7 years ago

MZFormSheetPresentationController.appearance().movementActionWhenKeyboardAppears = .alwaysAboveKeyboard does not work in swift 3

reza-khalafi commented 7 years ago

Solved :

 let fsc = MZFormSheetPresentationViewController(contentViewController: vc)
fsc.presentationController?.movementActionWhenKeyboardAppears = .alwaysAboveKeyboard