mycelium-com / wallet-ios

94 stars 41 forks source link

support older iOS (down to 6.0) #9

Closed prusnak closed 9 years ago

prusnak commented 9 years ago

It seems there is no reason just to support only iOS 8+

oleganza commented 9 years ago

There are several APIs used throughout the code that only exist in iOS8 (e.g. UIAlertController) and a few features of XIBs and Storyboards that also iOS8-only. It's not enough to just change deployment target.

prusnak commented 9 years ago

Ah, I was able to successfully build & deploy the app using the changed settings. Too bad Xcode did not complain at all.

oleganza commented 9 years ago

Xcode did not complain because your SDK version remained iOS8. Xcode does not know if the newer APIs are protected with conditional branches from executing on older OS. Lower deployment target also disables some deprecations in versions above that target, so you can see even less warnings potentially, not more.