Post not yet marked as solved
Post marked as unsolved with 2 replies, 140 views
When I present a UIViewController programmatically
vc.modalPresentationStyle = .pageSheet
present(vc, animated: true, completion: nil)
the presenting view controller doesn't move at all. I expect it to move back to create a stack like in Mail (shown here) - https://developer.apple.com/design/human-interface-guidelines/ios/app-architecture/modality/
I think it has something to do with the hierarchy, but I'm not sure how to make it so that the presenting controller moves back?