user1478583
user1478583

Reputation: 342

How to customize UIAlertView

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

Answers (3)

The Kraken
The Kraken

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

ilight
ilight

Reputation: 1622

See if TSAlertView could be of any use.

Upvotes: 0

Omar Abdelhafith
Omar Abdelhafith

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

Related Questions