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

Presenting in modal controller #106

Closed viktoricalonia closed 8 years ago

viktoricalonia commented 8 years ago

Is it possible to present FormSheet in a modal controller like https://github.com/m1entus/MZFormSheetController.? Is there a workaround that will let us present FormSheet in a modal ViewController? Thanks in advance.

m1entus commented 8 years ago

"Is it possible to present FormSheet in a modal controller" what do you mean by this ?

viktoricalonia commented 8 years ago

What i mean is, MZFormSheetPresentationController can't present ViewController on top of a model ViewController (view controller that is presented with -presentViewController:animated:completion. Unlike the deprecated MZFormSheetController that can still present ViewControlle on top of a modal controller. Is there any work around of this in MZFormSheetPresentationController. If none, maybe i will just use the MZFormSheetController

m1entus commented 8 years ago

It can but you have to present from view controller which is presented on top