I am programming an App with Swift, and targeting iOS 7.1 as the lowest, and I noticed that UIAlertView is deprecated in iOS 8.
So does this mean I should ONLY use UIAlertView to display an alert in my app?
or should I use some code that checks which version of iOS is running, and depending on the version of iOS running, use UIAlertController for iOS 8, and then use UIAlertView if they're running iOS 7?
Edit: I should add, that UIAlertView does work on both iOS 7 and 8, but I am just wondering if I should use JUST UIAlertView for both, or have a check and run UIAlertController instead if they're on iOS 8. I know its best practice to use the new API since the other is deprecated, so I am curious if it is an issue to just use UIAlertView across both