how to present modal UIViewController dialog from bottom in IOS like this (image attached)
How would one present a UIViewController (from Storyboard say) that is modal, and slides up from the bottom of the presenting view controller. Requirements would be: slides up from bottom, with widths aligning with the width of the presenting view controller does NOT take up whole screen or whole parent presenting view controller (rather only is as high as required to show itself) can be shown within the context of a view controller which doesn't take the whole screen I do not use storyboards so I wrote it all out. You can copy paste this into a brand new project and run it to see it working.