Re: iPhone: detect if docked?
Re: iPhone: detect if docked?
- Subject: Re: iPhone: detect if docked?
- From: David Duncan <email@hidden>
- Date: Sat, 15 Aug 2009 00:40:12 -0700
On Aug 14, 2009, at 4:29 AM, Sean Kline wrote:
Is another option to use the External Accessory framework?
I don't think so. A simple charger may not appear as any kind of
accessory at all (consider the wall-outlet charger) so EA wouldn't
track it. If you want to know if the device is on external power
(which in this particular case would likely be a false positive on one
of those external battery packs) then you want to know if the battery
status is "charging".
--
David Duncan
Apple DTS Animation and Printing
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden