Search code examples
iphoneiosin-app-purchaseauto-renewing

How to determine if iOS version supports auto-renewing purchases?


Am I being particular dense today? I'm working on an app that needs to offer legacy subscriptions to old iOS versions and auto-renewing subscriptions to newer iOS versions.

Normally I would check using a respondsToSelector test for something appropriate in the classes I want to use, but I can't see anything in the storekit that has changed that would allow me to do the test.

So how should I check to see if the device supports auto-renewing subs? I know I could check the explicit iOS version number, but I'd really prefer not to do that.

Is there a more sensible check I can do?


Solution

  • Why not just check for the iOS version that you need? How hard is that?