I'm trying to implement UIModalTransitionStyle.flipHorizontal
and it works but it shows just a black view. here is my code:
@IBAction func loadNextView(_ sender:UIButton){
let nextVC = NextViewController()
nextVC.modalTransitionStyle = UIModalTransitionStyle.flipHorizontal
self.present(nextVC, animated: true, completion: nil)
}
Any of you knows why it shows a black view? or how can show the correct view?
I'll really appreciate your help