UIVisualEffectView作为叠加层

时间:2016-10-05 06:10:31

标签: ios iphone swift cocoa-touch uiviewcontroller

我有一个UIViewController,它提供了另一个ViewController

let blurryVC = BlurryViewController(names: ["name1, "name2", "name3"])
let navigationC = UINavigationController(rootViewController: blurryVC)
self.modalPresentationStyle = .overFullScreen
self.present(navigationC, animated: true, completion: nil)

BlurryViewController我有一个UIVisualEffectView,当我提出这个VC时,模糊效果大约1秒,然后变黑。我认为背后的VC的观点发生了一些事情。

当我出示它时,如何防止它变黑?

谢谢!

0 个答案:

没有答案