I'm presenting a modal view controller that has a background with a UIVisualEffectView with an UIBlurEffect of type .light
I'm presenting the modal view controller as below:
infoViewController.modalPresentationStyle = .overFullScreen
infoViewController.modalTransitionStyle = .crossDissolve
self.present(infoViewController, animated: true, completion: nil)
I'm noticing that the blur effect view does not appear until the crossDissolve animation has completed.
This is not the case for other transition styles such as coverVertical.
This is happening only on iOS 10 with Swift 3.
How can I get the crossDissolve animation to work along with the visual effect view on my infoViewController. Any suggestions/workarounds?