开发者

How to produce an iphone app which calculates the battery status?

How to produce an ip开发者_运维问答hone app which calculates the battery status? Is there a particular API that i need to use?

Has anyone got a link to any online tutorials?


Just set [UIDevice currentDevice].batteryMonitoringEnabled = YES. Then you can use -[UIDevice batteryState] and -[UIDevice batteryLevel].

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜