有没有API可以获取iPhone的内部数据?
对于 iPhone 的内部数据,我的意思是,例如,在一般设置中,我们有一个名为“使用情况”的选项,它显示已发送和接收的字节数。我想获取已发送和接收的数据量。任何人都可以帮助我吗?
With iPhone's internal data I meant, for example, in general setting we have an option called usage which shows the amount of bytes that has been sent and received. I want to fetch the amount of data that has been sent and received. Can any one help me in this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
iOS SDK 仅公开最少的设备特定信息集。其中大部分内容可以在 UIDevice 类中找到。
您当然可以确定应用程序的网络活动,但我怀疑这就是您正在寻找的。
The iOS SDK only exposes a minimal set of device specific information. Most of this can be found in the UIDevice Class.
You can of course determine the network activity of your application, but I doubt that is what you are looking for.