I want to be able to present a viewController with crossDissolve but dismiss it with the traditional top to bottom dismissal. Is there a way to change the modalTransitionStyle once the viewController has opened?
Here is how I am currently presenting
I want to be able to present a viewController with crossDissolve but dismiss it with the traditional top to bottom dismissal. Is there a way to change the modalTransitionStyle once the viewController has opened?
Here is how I am currently presenting
let layout = UICollectionViewFlowLayout()
let userSearchController = UserSearchController(collectionViewLayout: layout)
userSearchController.modalTransitionStyle = .crossDissolve
currentController?.present(userSearchController, animated: true, completion: nil)