iOS: Modal ViewController with transparent background

I’m trying to present a view controller modally, with a transparent background. My goal is to let both the presenting and presented view controllers’s view to be displayed at the same time. The problem is, when the presenting animation finishes, the presenting view controller’s view disappears. – (IBAction)pushModalViewControllerButtonPressed:(id)sender { ModalViewController *modalVC = [[ModalViewController alloc] init]; … Read more

Disable the interactive dismissal of presented view controller

iOS 13 introduces a new design of modalPresentationStyle .pageSheet (and its sibling .formSheet) for modally presented view controllers… …and we can dismiss these sheets by sliding the presented view controller down (interactive dismissal). Although the new “pull-to-dismiss” feature is pretty useful, it may not always be desirable. THE QUESTION: How can we turn the interactive … Read more