10

Is there an API or a hack to detect whether or not automatic updating has been enabled globally on iOS 7?

This setting may impact whether or not developers want to notify the user about available app upgrades. For example, we don't want to bug the user if they are running an old version of our app, but auto-update is allowed.

enter image description here

Thank you!

6
  • Very good question! I'm curious if someone knows an answer. +1
    – stigi
    Commented Sep 24, 2013 at 18:23
  • If it's important that the user knows about the new version (e.g. API endpoints will break), just do it anyway. If their old version won't stop working - don't. Consider that if the user doesn't even know how updating an app works, you'd have to give them some instructions on how to do this etc. Users who know how it works have probably chosen not to upgrade the app for some reason, and thus also don't care.
    – millimoose
    Commented Sep 24, 2013 at 19:36
  • @millimoose There may be users who have disabled autoupdate for some reason, but still care that a new version is available. We want to let that segment know that we've been working to improve the App, without inconveniencing those who are about to get the upgrade through auto-updating. Commented Sep 24, 2013 at 19:46
  • How about this: after an arbitrary number of times bringing the app to the foreground, ask the customer if they want to be notified of new versions of the app. A simple alert with Yes and No buttons. Store the result in NSUserDefaults. You could even let the customer change their opt-in status any time they wish via a Settings.bundle or in-app settings view. No need for Apple-supplied APIs, no hacks that will get the app rejected by Apple, and it shows respect for the customer by asking them to opt in.
    – neilco
    Commented Sep 24, 2013 at 20:07
  • Good point about risk due to non-Apple API hacks. At the crux of the matter, though, is respecting the user by minimizing the amount of obtrusive dialogs we show. Knowing whether or not updates are enabled allows us to show as few as possible. Commented Sep 24, 2013 at 20:19

1 Answer 1

3

No, there is no API. This is to stop developers from bugging users who don't want to upgrade.

2
  • 1
    I certainly hope this is the case.
    – Kevin
    Commented Sep 24, 2013 at 18:50
  • Thanks for your answer. I've updated my question to better reflect what this question is about... to find an API or a hack of some kind to find out whether this switch is flipped in the Settings App. Commented Sep 24, 2013 at 19:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.