• 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
iPhone: detect if docked?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iPhone: detect if docked?


  • Subject: iPhone: detect if docked?
  • From: "Eric E. Dolecki" <email@hidden>
  • Date: Thu, 13 Aug 2009 17:12:30 -0400

I am looking into disabling the idle timer when the thing is docked and
running my application.
UIApplication* application = [UIApplication sharedApplication];
application.idleTimerDisabled = YES;

Is there a way to tell if the device is currently docked so that the app
doesn't get smacked down by Apple for eating battery?
_______________________________________________

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: David Duncan <email@hidden>
  • Prev by Date: Document file read, but -readFromData:(etc) has error.
  • Next by Date: Re: scroll view is now disabled after switching to snowleopard
  • Previous by thread: Re: Document file read, but -readFromData:(etc) has error.
  • Next by thread: Re: iPhone: detect if docked?
  • Index(es):
    • Date
    • Thread