mapbox / mapbox-gl-native

Interactive, thoroughly customizable maps in native Android, iOS, macOS, Node.js, and Qt applications, powered by vector tiles and OpenGL
https://mapbox.com/mobile
Other
4.37k stars 1.33k forks source link

Replace UIActionSheet, UIAlertView with UIAlertController #8371

Closed 1ec5 closed 7 years ago

1ec5 commented 7 years ago

Now that we’ve dropped iOS 7 support, we can replace usage of the deprecated UIActionSheet and UIAlertView classes with UIAlertController. (Removing UIActionSheet and UIAlertView usage would also become important if we were to ever support tvOS, since neither class is available on that platform.) It’s going to be a bit strange that a view presents a view controller, but hopefully it won’t be much different than what we’re already doing in these situations.

/cc @friedbunny @frederoni @incanus

1ec5 commented 7 years ago

Fixed in #8373 on the release-ios-v3.5.0-android-v5.0.0 branch.