Reputation: 333
I want to present a UIViewController
in iPhone and iPad both as same as we present in iPad using UIModalPresentationFormSheet
but i also want to give good amount of curve on the edges like cornerRadius. I can do it using UIView
and animate it from bottom to top but i want to do using UIViewController
Upvotes: 0
Views: 78
Reputation: 40030
It is not possible using the built-in frameworks.
Docs:
In a horizontally compact environment, this option behaves the same as
UIModalPresentationFullScreen
.
You'll have to write custom code to show a view modally that doesn't fully obscure the underlying view.
Upvotes: 2