简体   繁体   English

iPhone-Webview中的页面加载时间

[英]iPhone - Page loading time in webview

Using the Safari developer tools option, i can connect my iphone to MAC machine and see the loading time of each of the components ( of my iphone safari browser page ) in my MAC Safari application. 使用Safari开发人员工具选项,我可以将iphone连接到MAC机器,并在MAC Safari应用程序中查看每个组件(在iphone safari浏览器页面中)的加载时间。

But, to get the same component level detail for the webview component inside any application (debug build), i need developer provisioning profile. 但是,要在任何应用程序(调试版本)中获取相同的WebView组件级别的详细信息,我需要开发人员配置文件。

I have only testing provisioning profile. 我只有测试配置文件。 So, i could download the app into my device and connect to instruments But in Safari developer option, i dont see my application. 因此,我可以将应用程序下载到我的设备中并连接到仪器,但是在Safari开发人员选项中,我看不到我的应用程序。

From this, i assume that testing provisioning profile is not sufficient and i need developer provisioning profile to debug my web view component in any application. 因此,我认为测试配置文件是不够的,并且我需要开发人员配置文件来调试任何应用程序中的Web视图组件。

Please confirm if my understanding is correct ? 请确认我的理解是否正确?

My question is - Is it mandatory to have developer provisioning profile installed in device to get component loading time from web view ? 我的问题是-是否必须在设备中安装开发者配置文件才能从Web视图获取组件加载时间? or is Testing provisioning profile sufficient ? 还是测试配置文件足够?

Thanks in advance. 提前致谢。

From this link, Apple developer Site 通过此链接, Apple开发人员站点

The following line says that, 下一行说,

If you have a development provisioning profile installed on your device, you can debug any web view (UIWebView object) in your app. 如果您的设备上安装了开发配置文件,则可以在应用程序中调试任何Web视图(UIWebView对象)。 This is particularly useful if your app manipulates the DOM in any way, and you want to observe the generated markup. 如果您的应用程序以任何方式操纵DOM,并且您要观察生成的标记,则此功能特别有用。

based on this, i assume that my assumption is correct. 基于此,我认为我的假设是正确的。 If anybody has any other opinion kindly mention the same. 如果有人有其他意见,请同样提及。 Thanks. 谢谢。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM