Reputation: 342
I have UIAlertView
which holds an UIImage
and two default buttons OK
and Cancel
.
Now i want to customize UIAlertView's
background color to white color, and need to add my Image and two default buttons.
Upvotes: 0
Views: 1084
Reputation: 3158
If your needs are that customized, why not just write a new view controller and present it modally? You can have as much customization as you desire without risking rejection from Apple due to your disregarding of the iOS Human Interface Guidelines.
Upvotes: 1
Reputation: 21221
Dont do that, a lot of customization to UIAlertView
may lead to the rejection of your application, also since you customized it so much, why dont you just create your own UIView
Subclass, you will be able to customize it as much as you want
Upvotes: 3