Keep iPhone unlocked while plugged in [closed]
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this questionI keep my iPhone protected with the locking mechanism but when I'm at home I like to attach it to my stereo and stream pandora or my itunes library. To answer the obvious question, running those things from my开发者_如何学Go Mac just adds more clutter to my workspace so I like to unload those things.
Anyway, my droid had a feature that would allow you to set the phone to stay unlocked while plugged into a power source, unless locked manually. I can't find anything like this on the iPhone. Anyone know of something I'm missing? Skipping songs and what not is really more of a process than it needs be do to having to unlock it every time. And manually turning the auto-lock on and off all the time, ugh. Too much work. :)
With the iPhone, there's no need to unlock to skip a song, repeat a song, or change the volumne, or pause. Just double tap the Home Button and you can access those functions on the lock screen, without having to unlock the iPhone. Neat huh?
I know that for my iPhone, when using the built in iTunes app, the phone will start to go to sleep ( I think I have it on a 5 min timeout ), and when a new song starts, it acts like someone touched it, and starts the countdown over again. I have Pandora but I'm not sure. And I don't believe there'd be an app capable of doing that on a non jail-broken phone.
Write a short/quicky app the does a
[[UIApplication sharedApplication] setIdleTimerDisabled:YES]
and run it when you're not actually playing with the Pandora UI.
精彩评论