ios8 - Updating app for iOS 8 -


i have application minimum version has been set ios 7.0. application uses nsuserdefaults dictionary. application using uialertview , uiactionsheet extensively (not sure how apple non-disclosure covers). now, ios 8.0, these 2 views have been deprecated , have been replaced controller uialertcontroller. now, there 2 ways can see can me in updating app ios 8.

  • raise minimum version ios 8.0 update. way, users running ios 7.0 won't able see update. however, leads following situation :-

however, there 1 problematic case, , comes upgrades performed within itunes or on device higher version number synced itunes. when user syncs older device itunes, itunes delete application device because cannot run new version within itunes. had couple of users original ipod touches report when upgraded 1 of applications support 4.0.

the above comment present under accepted answer @ following url :-

raising minimum ios deployment target version app update

since, application using nsuserdefaults dictionary, relevant entries in dictionary erased when application deleted.

  • the other option me detect in code version being used , code accordingly using if-else statements. enable me keep ios 7.0 minimum version , might me in deploying update ios 8.0. however, seems lot of work can potentially lead bugs.

so, wondering option better between above 2 ways ? (this application using objective-c due constraints).

the best thing user's perspective code using uialertview , uiactionsheet though they're deprecated. keep ios 7 target same it's been. xcode shouldn't give warnings since you're using older version base target. won't need change code , should still work enough.

once you're ready switch (perhaps when ios 9 comes out), switch base target ios 8 , update code use uialertcontroller everywhere. me, doesn't make sense spend time trying support 2 different versions if it's api deprecation still allows code work how you've written years. saves resources , energy update later.

but it's , how want support ios 7. think doesn't make sense drop support until next version comes out. try support current , last versions there no annoyed customers, depends on own needs.

if have analytics integrated, check out percentage of ios 8 adoption once it's been released public. if not, it's great opportunity add find out how date customers are!


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -