-3
我使用swift以及如何呈現模態視圖控制器,但他的背景是透明的。其他視圖控制器的內容在後面可見。如何用透明背景呈現模態視圖控制器
我使用swift以及如何呈現模態視圖控制器,但他的背景是透明的。其他視圖控制器的內容在後面可見。如何用透明背景呈現模態視圖控制器
這一次爲我的作品:
self.presentingViewController.providesPresentationContextTransitionStyle = YES;
self.presentingViewController.definesPresentationContext = YES;
modal.modalPresentationStyle = UIModalPresentationOverCurrentContext;
這將是,如果你搜索類似的問題更好地發佈新的前 – Azat