I\'ve implemented a custom transition between two view controllers in my iOS app and it worked fine with iOS 10, 11, and 12.
Now I want make it ready for iOS 13 using Xc
The answer above is correct to set modalPresentationStyle to .fullScreen, however it is also worth to mention that if your view controller is embedded in a UINavigationController, you need to set it on the navigation controller:
modalPresentationStyle
.fullScreen
UINavigationController
navigationController.modalPresentationStyle = .fullScreen