search

Home  >  Q&A  >  body text

ios - 如何记录我司程序所耗费的电量及流量?

如题所述, 现有需求, 需要记录本app所消耗的电量和流量, 记录下来,然后待需要时上传到服务器.

请问如何才能获取?

大家讲道理大家讲道理2892 days ago528

reply all(1)I'll reply

  • PHPz

    PHPz2017-04-18 09:26:25

    To record traffic, please refer to this answer http://stackoverflow.com/ques...

    If you record the power, you can get and save the current power when you first enter the app, and then get it again when you exit to calculate the app's power usage. For the method of obtaining power, please refer to http://blog.csdn.net/uxyheave...

    reply
    0
  • Cancelreply