Tamil_Arya
Tamil_Arya

Reputation: 29

In the alert view ,how to change background color & display bottom of view?

I want to change the UIAlertView view background colour and change displaying position of alert view.

Is it posible ?

Upvotes: 1

Views: 1056

Answers (2)

Rizwan Shaikh
Rizwan Shaikh

Reputation: 2904

The UIAlertView class is intended to be used as-is and does not support subclassing. The view hierarchy for this class is private and must not be modified.

For more information about appearance and behaviour configuration, see AlertView.

OR

for changing background color u me used

OR
u can refer this post iOS SDK: Creating a Custom Alert View

Upvotes: 2

Fawad Masud
Fawad Masud

Reputation: 12344

No it is not possible. You can make custom AlertView for that. Take a look at this https://github.com/wimagguc/ios-custom-alertview.

Upvotes: 1

Related Questions