• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: iPhone: detect if docked?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: iPhone: detect if docked?
      • From: Jack Carbaugh <email@hidden>
References: 
 >iPhone: detect if docked? (From: "Eric E. Dolecki" <email@hidden>)
 >Re: iPhone: detect if docked? (From: David Duncan <email@hidden>)
 >Re: iPhone: detect if docked? (From: Sean Kline <email@hidden>)

  • Prev by Date: Re: Title bar highlighting behavior
  • Next by Date: Re: Timer in drawing loop performance problems
  • Previous by thread: Re: iPhone: detect if docked?
  • Next by thread: Re: iPhone: detect if docked?
  • Index(es):
    • Date
    • Thread