How to get battery status?

后端 未结 5 1041
臣服心动
臣服心动 2020-12-08 05:17

How do I get the battery status on an iPhone?

5条回答
  •  暖寄归人
    2020-12-08 06:02

    Now that the 3.1 SDK is released look for the Getting the Device Battery State section in UIDevice's documentation. It is abunch of battery* properties.

提交回复
热议问题