0

在我的应用程序中,实例化和推送视图控制器非常慢,这意味着它需要 5 分钟以上。仅在模拟器上测试。

代码:

@IBAction fileprivate func locationButtonTapped(_ sender: UIButton)
    {
        if (mSelectLocationVC == nil)
        {
            mSelectLocationVC = self.storyboard?.instantiateViewController(withIdentifier: "SelectLocationViewController") as? SelectLocationViewController
            mSelectLocationVC?.delegate = self
        }         self.navigationController?.pushViewController(mSelectLocationVC!, animated: true)
}

能力:

“platformName”:“iOS”,“platformVersion”:“11.3”,“deviceName”:“iPhone 6”,“automationName”:“XCUITest”,“app”:“/Users/xxx/Documents/Downloads/iOSApp.app ”、“autoAcceptAlerts”:真、“autoDismissAlerts”:真、“autoGrantPermissions”:真、“databaseEnabled”:真

请帮忙!!!

4

0 回答 0