So I'm about done working on an app update that will track a user's location in the background. Everything works great, of course, on phones and OS's that have that capability.
For those that don't I have implemented some alternate functionality. But I need to check for whether or not I should switch to that.
Initially I used two checks to determine this. I checked the system version to see whether or not it was >= "4.0", and then I also checked if location services were available (example: if a user disabled location services, it would respect that).
I thought this would work until I remembered a specific detail: the iPhone 3G can run iOS 4...but doesn't support multitasking.
So basically I need a new way to check for that condition. I don't want to put a hardware requirement in the info.plist file, because the app will run just fun without that on the 3G. What i'd like to be able to do is just check for something like "canMultitask" if something like that exists. Thanks.
For those that don't I have implemented some alternate functionality. But I need to check for whether or not I should switch to that.
Initially I used two checks to determine this. I checked the system version to see whether or not it was >= "4.0", and then I also checked if location services were available (example: if a user disabled location services, it would respect that).
I thought this would work until I remembered a specific detail: the iPhone 3G can run iOS 4...but doesn't support multitasking.
So basically I need a new way to check for that condition. I don't want to put a hardware requirement in the info.plist file, because the app will run just fun without that on the 3G. What i'd like to be able to do is just check for something like "canMultitask" if something like that exists. Thanks.