我们有一个正在生产的应用程序,报告 ios 15 预热的交互时间(tti)非常长。
TTI = ViewController 加载时间 - mainStartTime
mainStart 时间是在 AppDelegate.swift 的 willFinishLaunchingWithOptions 方法中测量的,如下所示
mainStartTime = Date()
Run Code Online (Sandbox Code Playgroud)
当第一个视图控制器加载时,我们将 tti 测量为
tti = -(mainStartTime.timeIntervalSinceNow)
Run Code Online (Sandbox Code Playgroud)
我们观察到,对于预热场景,mainStartTime 来得非常早(大约在用户启动应用程序之前 2 小时)。
我上网查了一下,但没有找到任何文档。只是想知道预热应用程序时是否可能会调用 willFinishLaunchingWithOptions 方法。
我试图找出是否有一种方法可以在使用组合布局时为组提供背景颜色。我试图找到一个我可以使用的直接 API,但没有找到任何东西。
在打字
install.packages("ggplot2")
Run Code Online (Sandbox Code Playgroud)
我得到以下结果:
Installing package into ‘/home/suraj/R/x86_64-pc-linux-gnu-library/3.0’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
Warning: dependency ‘plyr’ is not available
also installing the dependencies ‘reshape2’, ‘scales’
ERROR: dependency ‘plyr’ is not available for package ‘reshape2’
* removing ‘/home/suraj/R/x86_64-pc-linux-gnu-library/3.0/reshape2’
ERROR: dependency ‘plyr’ is not available for package ‘scales’
* removing ‘/home/suraj/R/x86_64-pc-linux-gnu-library/3.0/scales’
ERROR: dependencies ‘plyr’, ‘reshape2’, ‘scales’ are not available for package ‘ggplot2’
* removing ‘/home/suraj/R/x86_64-pc-linux-gnu-library/3.0/ggplot2’
The downloaded source packages are in
‘/tmp/RtmpSWlplq/downloaded_packages’ …Run Code Online (Sandbox Code Playgroud) 受影响的库:workbox.setConfig
浏览器和平台:"所有浏览器".*
问题或功能请求描述:我打算设置调试模式:这里是我正在遵循的流程:
有谁知道任何解决方法