0

実装しようとしUIModalTransitionStyle.flipHorizontalていますが、動作しますが、黒いビューしか表示されません。ここに私のコードがあります:

@IBAction func loadNextView(_ sender:UIButton){

    let nextVC = NextViewController()
    nextVC.modalTransitionStyle = UIModalTransitionStyle.flipHorizontal
    self.present(nextVC, animated: true, completion: nil)
}

黒いビューが表示される理由を知っている人はいますか? またはどのように正しいビューを表示できますか?

私は本当にあなたの助けに感謝します

4

2 に答える 2