is it available in iphone sdk ? if yes could you 开发者_运维技巧show me some example?
Yes, but there's no public API for it (you need IOKit
to communicate with the hardwares).
No, it's not available.
It maybe possible if you're using an external accessory or hardware.
Here's the API: http://developer.apple.com/iphone/library/documentation/ExternalAccessory/Reference/EAAccessory_class/Reference/Reference.html
精彩评论