iPhone, the best way to change the background color of the UIAlertView , and button properties?
<p>as topic... I want a simple to change the color of AlertView, but after googling, I find it is trouble, anyway, can give a tip on this problem ?
 I also trace the UIAlertView, the structure will be like as follows :</p>

<pre><code>CAlertView: 0x6463050; baseClass = UIAlertView; frame = (3.8 175.1; 312.4 129.8); transform = [1.1, 0, 0, 1.1, 0, 0]; opaque = NO; tag = -1; animations = { transform=&lt;CABasicAnimation: 0x616cfb0&gt;; opacity=&lt;CABasicAnimation: 0x616d050&gt;; }; layer = &lt;CALayer: 0x6407f90&gt;&gt;
</code></pre>

<p>above is base view </p>

<p>subViews as follows:</p>

<pre><code>"&lt;UIImageView: 0x6470dc0; frame = (0 0; 284 118); opaque = NO; autoresize = W+H; userInteractionEnabled = NO; layer = &lt;CALayer: 0x6470df0&gt;&gt;",
"&lt;UILabel: 0x64649c0; frame = (12 15; 260 0); text = ''; clipsToBounds = YES; opaque = NO; userInteractionEnabled = NO; layer = &lt;CALayer: 0x6444490&gt;&gt;",
"&lt;UILabel: 0x6454180; frame = (12 22; 260 21); text = 'Submit successfully!'; clipsToBounds = YES; opaque = NO; userInteractionEnabled = NO; layer = &lt;CALayer: 0x6453660&gt;&gt;",
"&lt;UIThreePartButton: 0x64690f0; frame = (11 59; 262 43); opaque = NO; tag = 1; layer = &lt;CALayer: 0x6468800&gt;&gt;"
</code></pre>

<p>I think that the UIImageView is the background view, I try to change the color of the view, but it does not effect the color of the UIAlertView...</p>

<p>anyone can share a good and simple way to change the color of the alert view ?</p>

<p>thanks for your time . </p>

<p>Regards </p>
