App rejected for disabling screen lock (idle timer) in iOS8

I just had an app rejected because I have a user changeable setting which allows the user to disable screen lock via
[UIApplication sharedApplication].idleTimerDisabled = YES;
Apple says I used an undocumented API but it IS indeed documented here: https://developer.apple.com/library/ios/documentation/uikit/reference/UIApplicat ion_Class/index.html#//apple_ref/occ/instp/UIApplication/idleTimerDisabled
My app graphs the barometric pressure and if you want the graph to run longer than a minute or two, it is important to disable screen lock. The default behavior is screen locking as usual, but there's an option in the settings to disable screen lock and this seems to be what Apple took issue with. I've had academic users request this feature, and I have used it in other apps successfully, however this time Apple rejected my app for using it. Is this normal? Is disabling screen lock via UIApplication really now allowed?

Just saw this in the doc:
However, apps that don't have user input except for the accelerometer—games, for instance—can, by setting this property to YES, disable the “idle timer” to avert system sleep.
(emphasis added)
So does your app use the accelerometer? Seems weird that that would be the only case where an app could disable the idle timer but they did specifically mention it in the doc, so…
As a paid developer you can and should take this to the IOS dev site. You might can a more definitive answer.
good luck
regards
<edit>
Looking at your last post I don;t think the problem is  using an undocumented API,  it is in not using it in the prescribed manner. At least that is how I read it.

Similar Messages

  • My ipod is rejecting the correct screen lock to unlock the ipod.  I have restored it but it is still asking for a passcode. How can I enter my ipod?

    My ipod is rejecting the correct screen lock to unlock the ipod.  I have restored it but it is still asking for a passcode. How can I enter my ipod? Is there a way to restore it so i can start over?

    Place your device into recovery mode and then restore.
    See here:
    http://support.apple.com/kb/HT1808
    Also set your iPod up as a new device, rather that restoring from a previous backup.
    Note: All user content on the device will be erased.

  • Custom screen saver idle time

    Is there a way to set a custom screen saver idle time? Through terminal? I tried "defaults -currentHost write com.apple.screensaver idleTime 160" for 3 minutes but that makes it go to 20 when I view it in preferences... lol, wow. This is hilarious. It's too much to have a slider or let the user enter any number? Too much for Apple, I know. It's tough. 100 billion dollar company. Can't even adjust the mouse acceleration either. Apple is Christ reincarnate.

    i got it to work
    I was runing it as root and you have to run it as Current console user on target computer in order for it to work.
    just in case someone else ever needs it.
    ~X

  • Cannot disable screen lock on my galaxy 4

    When my Galaxy 4 was purchased I could disable the screen lock feature by selecting "None" from the various screen lock choices. Now, the "None" choice is not shown. Is there another way to disable screen lock?

    THat is rather strange the option for none is no longer in there. Have you recently downloaded any new software or applications? In case you need it, here are the instructions for disabling the lock screen  http://spr.ly/6-17NzGL Lets restart your phone and give this a try. Let me know what happens.  BryanS_VZW Follow us on Twitter @VZWSupport If my response answered your question please click the "Correct Answer" button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!!

  • Remove name in "screen locked by tim"

    How can i remove my name in the remote computers locked message
    "Screen Locked by Tim"
    any help appreciated

    I found this elsewhere and haven't tried it myself. As with any such hack, have a backup or be prepared to reinstall. Hope it works for you, though.
    "Since ARD 2.0, when an administrator locks a screen, the locked screen tells who did it. At times you might not want clients to know who is controlling the computer.
    1. Make sure Apple Remote Desktop is not running, and navigate to the folder containing the application.
    2. Control-click on the application and choose "Show Package Contents" from the pop-up menu.
    3. In the window that opens, navigate to Contents/Resources/English.lproj (or whatever language you're using).
    4. Find the file "LockScreenTask.strings" and create a backup copy in a safe place.
    5. Open the original "LockScreenTask.strings." If you have the Developer Tools instaled, it will open in Xcode; otherwise, you can open it in TextEdit.
    6. You should see the following:
    7. /* Localized versions of task strings */
    8. taskString = "Lock Screen";
    9. taskDescription = "Lock Screen";
    10. longTaskDescription = "Lock screens on target computers";
    11. actionString = "Lock Screen";
    12. lockedByString = "\r\rScreen locked by %@";
    13. lockedByStringNoText = "Screen locked by %@";
    14. defaultPictureName = "Lock Screen Picture";
    15. // Task progress
    16. kLockScreenRequestingOne = "Locking screen";
    17. kLockScreenRequestingMany = "Locking screens";
    18. Change the line lockedByStringNoText = "Screen locked by %@"; to lockedByStringNoText = "";. Now "Screen locked by" will not appear when you lock the screen of a client computer if you don't type a message, but it will still appear if you do.
    19. If that's not sufficient, replace the line lockedByString = "rrScreen locked by %@"; with lockedByString = "rr";. Now the "Screen locked by..." message won't appear even if you send them a message.
    20. Save your work, launch ARD, and you're done."

  • Disable screen lock on macbook pro running lion

    How can I disable screen lock?

    You've lost me. What screen are you in? There is no choice to change the password in security settings unless you're messing about with the Master password option. You just need to click the padlock in the red circle and enter a valid Admin user password:

  • How can I disable screen lock without entering a passcode?

    How can I disable screen lock without entering a passcode? I accidentally clicked on screen lock and I can't get out of it, and I didn't know I had a passcode, I even reset the ipod and it's still there. Any help??

    I'd try restoring through iTunes.

  • Disabling Screen Lock..

    It appears that when I put my phone to sleep by pressing the sleep/wake button, it will lock the phone regardless of my auto-lock setting. It requires me to slice the lock to unlock the screen. Why can't I simply go back to home screen or last application screen by pressing the wake or home button? With 3.0, app can continue to run while in sleep mode so user ought to be able to easily view the last app screen without having to unlock the screen. Is there anyway to disable the lock screen? Auto-Lock setting has no effect apparently.

    The slide to unlock is required after the iPhone's screen is set to sleep regardless if you have the Passcode lock feature enabled or auto-lock. This is to prevent an app on the home screen from being pressed or a selection for an app that was selected when putting the screen to sleep if the screen is turned on while in your pocket for example.
    3rd party apps cannot run in the background, but included apps can such as the Mail client if automatically check for new mail is selected, with the SMS app for receiving text, etc.
    There is not a way to disable the slide to unlock when waking the iPhone or the iPhone's screen from sleep.

  • HT1725 App download interrupted by screen lock?

    is there a way to download and app without the screen locking and interrupting it except turning off the screen lock?

    Does the Store > Check For Available Downloads menu option find it ? If not then depending upon what country that you are in (music can't be re-downloaded in all countries), see if you can redownload it via the Purchased link under Quicklinks on the right-hand side of the iTunes store home page on your Mac's iTunes (if you have the incomplete track listed in your library then you will need to delete that first, otherwise you won't get the cloud symbol in Purchased for redownloading).
    If you aren't in a country where you can re-download music then try the 'report a problem' page to contact iTunes Support : http://reportaproblem.apple.com
    If the 'report a problem' link doesn't work then you can try contacting iTunes support via this page : http://www.apple.com/support/itunes/contact/- click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • Disable screen lock (SRSS 4.2)

    Hi,
    I want to provide some users to disable the screen lock function so that they don´t need to enter there password if they unplug there smart card and plug it into another DTU.
    I tried to modify the environment variable "SUN_SUNRAY_UTXLOCK_PREF" as it is described in the utxlock manpage but it doesn't work.
    Thanks a lot for your ideas
    Axel Ziller

    By default SRSS 4.2 does not use the normal X screen lock to reauthenticate after a hotdesk event. Instead it does what's called "Remote Hotdesk Authentication", which means that it performs the reauthentication in a new, completely separate session. This is because there are situations in which the X screen lock can fail to obtain its lock, leaving the session unprotected.
    If you don't care about that then you can turn off the default RHA separate lock mechanism by adding the -D option to whatever arguments you're currently giving to the utpolicy command. After you've done that, and executed a cold restart of SRSS, the old screen lock behaviour should apply and the UTXLOCK_PREF setting should be honoured.
    OttoM.
    Disclaimer: I work for Oracle, but I do not speak for Oracle

  • DX650 - Disable Screen Lock

    How can I disable the screen lock on the DX650 phone (CUCM 10.5)?
    Users don't want to have to enter a PIN number to access the phone.
    I have tried different settings of "Require Screen Lock" on the Device page, but no luck.
    Thanks, Randy

    On the device settings do the following changes:
    Display On Time: Change it to your office starting time or  a bit earlier
    Display On Duration: Change it to the end time of your office or a bit extra
    Require Screen Lock : Change it to User Controlled>Check the Override Common Settings
    Uncheck the setting: Enforce Screen Lock During Display-On TIme >Check the Override Common Settings
    Restart the phone.
    Now in the setting of the Android OS you will get an option to make it None. Also you can set a pin and then do a manual lock as required by pressing the lock button on the phone,

  • How can I set up my iPad to Remember my password in App Store for a determined period of time.. Ex: 2 minutes, for updates and purchasing?

    Whenever I make purchases on my iPad in the App Store, it asks me for my Apple ID password. I'm fine with this when its a one off purchase, but when I have to make multiple purchases continuously it can be really annoying.
    How wow can I get the App Store to remember my password for a short period of time (2-3 minutes) so I don't have to type it in with every purchase? I know it can be done as the other iPad in the house is set up this way, I just can seem to find how or where to change these settings...

    There is Settings > General > Restrictions > Require Password which you can set to '15 minutes' - the only other option for the setting is 'Immediately', you won't be able to have it as 2 or 3 minutes.

  • App rejected for rss feeds?

    My app has been rejected for using rss feeds, Apple says " We found that your app contains features that may infringe on rights owned by Various News Stations, which is not in compliance with the App Store Review Guidelines".
    My app allows user to select location and or topics and then displays RSS feeds from relevant publications (newspapers, magazines, TV News stations).
    Does anyone have experience of this? There are dozens of rss readers out there, including many that pull from news sources. I find it hard to believe that everyone has the "documentary evidence that you have the rights to use this content" which apple is asking me for.
    Does it make a difference if you link to their website as well as display the feed itself? Seems crazy since I thought hyperlinking was what the internet was all about.
    Any advice gratefully received.
    Thanks
    Martin

    Law in this area is still in development. Originally, linking and reposting was perfectly fine. Now, people are getting sensitive about it. Your feed could conceiveabley violate the terms of use for a web site by removing ads from the feeds, for example. The "Wild West" days of the internet are coming to an end.
    Apple isn't saying you can't use feeds, you just need to prove you have rights to them. Contact the sites you want to use and ask.

  • Hi guys I need to restrict access to the settings with a passcode but also need passcode for the screen lock due to MS Exchange. Can these codes be different?

    We are introducing iPhonse into the business but have a question regarding security. We need to restrict user access to the settings on the iphone  probably via a passcode. We also need the user to have access to their emails (which when using exchange enforces a passcode). Is this the same passcode that is used for both by default? Because if it is then by allowing the user access to their emails they would by default have access to the code that allows them to change the settings of the iphone?
    Does anyone have any knowledge of this or how I can achieve something similar.
    Thanks
    Paul

    Hi,
    Thanks for your reply
    Could you by any chance provide a few simple steps on how to do this as i not too sure how you differentiate creating a passcode for restrictions and creating a passcode for lock screen?
    Kind Regards,
    Paul

  • How do i find out my pass word for the screen lock?

    i put a lock on my ipod and i cant figure wat i locked it as!

    http://support.apple.com/kb/ht1212
    Basic troubleshooting steps  
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101

Maybe you are looking for