0
我正在使用它來關閉視圖控制器。如何刪除拆分視圖控制器和加載新視圖控制器之間的拆分第二個白色屏幕
[self dismissViewControllerAnimated:YES completion:nil];
self.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
self.view.alpha = 0.0;
[UIView animateWithDuration:0
animations:^{self.parentViewController.view.alpha = 1.0;}];
self.parentViewController.view.alpha = 1.0;
但它仍然顯示白色畫面會顯示視圖控制器,我已經連我的所有組件改變成不同的顏色,看它是否是一個組成部分,但屏幕保持白色了。
通過這個==不見了> http://stackoverflow.com/questions/12741224/ios-modal-viewcontroller-with-transparent-background –