Cannot reset schemes on 'canOpenUrl'

The official API reference says as follows.


https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplication_Class/#//apple_ref/occ/instm/UIApplication/canOpenURL:


If your app is linked against an earlier version of iOS but is running in iOS 9.0 or later, you can call this method on 50 distinct URL schemes. After hitting this limit, subsequent calls to this method return
NO
. If a user reinstalls or upgrades the app, iOS resets the limit.


I made an AdHoc .ipa and tried to reinstall to confirm whether the limit of URL schemes were reset or not through iTunes. However, unlike the sentence says, the limit was not reset.

How should we do reset the URL limit ?

Just a wild guess but maybe it's something like the notifications permission. The app has to be uninstalled for a period of time for that to be reset. You could try the same incantation used to reset that and see if it helps. (delete app; reboot; set date forward a day; reboot.)

Cannot reset schemes on 'canOpenUrl'
 
 
Q