I would like to do an iOS detection at the beginning of the app, to load one or another view controller in app delegate, and from there, I would code the main things separately, depending on the iOS version of the device.
The idea is to make two (or three) view controllers at the beginning, one for iOS 9 and another for iOS 8/iOS 7 but nothing lower than that because I'm coding in Swift 2.
I would like to know if that's the good approach to code a universal app compatible with multiple iOS versions.