我已按照 Apple 的步骤使用 Energy Diagnostics Instruments(https://developer.apple.com/library/ios/#documentation/DeveloperTools/Conceptual/InstrumentsUserGuide/Built-InInstruments/Built-InInstruments.html#//apple_ref/doc/uid/TP40004652-CH6-SW63)。
我已经尝试使用我自己的应用程序和 AppStore 中的几个应用程序,我总是能获得除能源使用信息之外的所有预期信息(包括时间标志)。 简而言之,Energy Usage Bar 不显示任何图表(它显示运行时间)并且 Energy Consumption 表(详细 View )始终为空白。
我使用的是 iPodTouch4 和 XCode 4.2。 可能是什么问题呢?除了 Apple 步骤之外,我还需要做任何其他事情吗?
提前致谢。
最佳答案
我发现 Energy Diagnostics 的准确性低下,所以我的公司制作了 Powergremlin这很简单,但在我们的测试中更准确。它是开源的,所以只需下载并在 Xcode 中构建它。
关于ios - 仪器不显示能源使用水平 : it is empty,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9646238/