我想在masterdetail页面之后显示popup viewcontroller但是当我调用show popup页面的方法时,在详细页面中将弹出页面添加到subview 我想在ipad中全屏显示弹出窗口,但我不知道如何使用它
详细页面代码:
let popOverVC = UIStoryboard(name: "Main", bundle: nil).instantiateViewControllerWithIdentifier("AppDescSoryID") as! ApplicationDetailViewController
if let catIndex = (TableView.indexPathForSelectedRow as NSIndexPath?)?.row
{
popOverVC.ReciveData = self.categoryFilter[catIndex]
}
self.addChildViewController(popOverVC)
popOverVC.view.frame = self.view.frame//FeatureViewController.screenSize
self.view.addSubview(popOverVC.view)
popOverVC.didMoveToParentViewController(self)