Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UIModalPresentationFormSheet on iPhone

How can I make a Modal View's presentation style UIModalPresentationFormSheet (or something what looks like it) on an iPhone?

Thanks in advance!

like image 577
Knodel Avatar asked Sep 13 '10 17:09

Knodel


People also ask

What is present Modally?

Present Modally - Presents a view controller overtop the current view controller in various fashions as defined by the modal presentation and transition style - most commonly used to present a view controller in a sheet that animates up from the bottom. Example: Selecting Face ID & Passcode in Settings.


2 Answers

You can't using the built-in frameworks.

You'll have to write your own code to show a view modally that doesn't fully obscure the underlying view, unless someone else has already done that and released it publicly.

like image 188
Shaggy Frog Avatar answered Oct 04 '22 15:10

Shaggy Frog


You also might wanna checkout the following open source project:

https://github.com/KitchenStories/charleene

like image 27
MrBr Avatar answered Oct 04 '22 16:10

MrBr