tags:

views:

98

answers:

1

What is UIAlertView background color?

I tried checking backgroundColor property but it is nil. Not sure how to determine this color otherwise.

A: 

take the sanp shot of UIAlertView ( only small portion containing that blue color) use
UIColor *alertviewcolor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"snap.png"]];

api u wil get the UIAlertView background color.

jeeva
Thanks. I also found non-programmatic way of finding this out - using Digital Color Meter utility located in /Applications/Utilities.
Roman K