在我的应用程序中,实例化和推送视图控制器非常慢意味着它需要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":true
请帮助!!!