Closed hy9be closed 7 years ago
Hi, import the classes in the Xcode project; then in the pch of the project or in every view controller write #import "UIAlertView+Extension.h".
Thanks for the reply!
I followed your steps but still got the deprecation warning:
Any directions for further investigation?
The warning is normal. The AlertView is deprecated (with my solution you don't use UIAlertView with new iOS >= 9 but the warning exist). If you want you can force XCode to hide the warning. Search with google. ;-)
Got it. Thanks!
The utility of these classes is in UIAlertView's massive replacement with UIAlertController. I had to replace them on a very large project (many UIAlertViews) because there were unexpected graphic effects (flickering, etc.). The warnings remain but they can be hidden forcibly.
Hi I need to clean up a lot UIAlertView deprecation in an app, and your wrapper looks promising as it aimed at transparency. Could you tell how should I use it? Add all files in the
UIAlertViewWrapper
folder, and do not change anything else?Thanks!