iphone-uiview-background
<p>I am new to iPhone development.  I have one XIB file, the login page (a form).</p>

<p>Now I want to set the <code>UIView</code> background image.</p>

<p>When I supply an image from Interface Builder then there is no effect, and when I set it from the code then also no effect.</p>

<pre><code>self.view.backgroundColor = [UIColor colorWithPatternImage:
                                    [UIImage imageNamed:@"srk_ipad_Homepg.png"]];
</code></pre>

<p>I don't want to use a <code>UIImageView</code> because when I place an image, all my controls are hidden behind the <code>UIView</code>.</p>
