Re: iPhone: detect if docked?
Re: iPhone: detect if docked?
- Subject: Re: iPhone: detect if docked?
- From: Jack Carbaugh <email@hidden>
- Date: Sat, 15 Aug 2009 17:19:27 -0400
ah but wouldn't this be a FAIL if say, the user was using a battery
extender for a quick recharge ?
On Aug 15, 2009, at 3:40 AM, David Duncan wrote:
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
_______________________________________________
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