简体   繁体   English

应用启动在模拟器上的速度明显慢。

[英]App Launch noticeably slow on simulator.

I am running an app on the simulator and the launch screen is shown for much longer than normal, and then oddly fades into the app with what seems to be an opacity animation. 我正在模拟器上运行一个应用程序,并且启动屏幕的显示时间比正常显示时间长得多,然后奇怪地淡入淡出该应用程序并显示出不透明动画。 I commented out all functions up until the viewDidLoad in the initial view controller and this didn't help. 我注释掉了所有功能,直到初始视图控制器中的viewDidLoad为止,但这无济于事。 I placed log statements at points that might be slowing down or delaying but all the logs are logged out immediately and then this delay goes on for a few seconds and the fade happens. 我将日志语句放置在可能会变慢或延迟的位置,但是所有日志都会立即注销,然后这种延迟持续几秒钟,然后发生淡入淡出。 I tried using time profiler in instruments but the read-outs from completely mysterious to me. 我曾尝试在仪器中使用时间分析器,但读数对我来说完全是个谜。

Is this familiar to any one or are there other steps I can take to resolve this? 这是任何人都熟悉的吗,或者我可以采取其他步骤来解决此问题?

Sounds like you accidentally turned on Slow Animations in the simulator. 听起来好像您不小心在模拟器中打开了慢动画。 Just turn it off again (Debug > Slow Animations, Command-T). 只需再次将其关闭(调试>慢动画,Command-T)。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Flutter 应用程序未在模拟器上启动。 它退出是因为没有“返回有效的 pid 或启动错误” - Flutter app not launching on simulator. It exits because of not 'return a valid pid nor a launch error' 应用程式适用于ios 4.3模拟器,但不适用于ios 5模拟器。 有任何想法吗? - App works for ios 4.3 simulator, but not ios 5 simulator. Any ideas? Xcode不会在模拟器上运行应用程序。 (App意外退出) - Xcode does not run the app on simulator. (App exited unexpectedly) 如何检查 iOS 应用程序是否在模拟器上运行。 (目标-c) - How to check if an iOS app is running on the simulator. (objective-c) 没有构建错误,但在模拟器中崩溃。 - No build errors but crashes in simulator. Xcode 12 启动模拟器非常慢 - Xcode 12 very slow to launch simulator 无法将 ios 应用程序构建到设备中,因为“嵌入式框架 'SharedCode.framework' 是为 iOS 模拟器构建的。” - Can not build ios app into device because “embedded framework 'SharedCode.framework' was built for iOS Simulator.” 在iPad3上运行应用程序时,在模拟器上没有变量,但变量没有显示。 斯威夫特4 - I get nil on a variable when running app on iPad3 but not on simulator. Swift 4 我的iPhone应用程序不会在新的iPhone 5模拟器中使用信箱运行。 我怎么把它拿到信箱? - My iPhone App won't run with letterboxes in the new iPhone 5 simulator. How do I get it to letterbox? 无法在 ios 模拟器上运行我的 flutter 应用程序,该模拟器在 android 模拟器上完美运行。 运行 pod install 时出错 - Unable to run my flutter app on ios simulator which is working perfectly on android simulator. Error running pod install
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM