wimagguc / ios-custom-alertview

Custom UIAlertView. Continue adding images and UIViews to dialogs in iOS7+
Other
1.66k stars 394 forks source link

iOS6 support #14

Closed hemangshah closed 11 years ago

hemangshah commented 11 years ago

Having intuition that this would become the best alternative to add a subview in alert view and use in iOS7 too. I'm reaching here, when I really need to change my code which need to have a custom alert view for iOS7 too. It's well implemented for iOS7. But it also looks same UI for lesser versions that's iOS 6. You should detect current iOS version and based on that provide UI for previous look and new UI look.

wimagguc commented 11 years ago

Thanks @hemangshah,

This CustomIOS7AlertView class is for creating a simple iOS7-UI-looking dialog, and it's not in the scope of the project to be a replacement of the UIAlertView on all iOS versions. This is to keep the code as clean and reusable as possible. It's a very simple job to fork your current code though. You will find some help in this article: http://www.wimagguc.com/2013/10/custom-ios7-uialertview/ -- hope it will be helpful for you.

(I've mentioned this in another comment of yours; the article is here only for future reference. Please feel free to come back with any other suggestions or arguments.)