How to create a UIButton from code instead of Interface builder?
<p>I tried to write lines below to create a button instead of using Interface Builder. But I couldn't get my button appeared. Is there something wrong with the code? Or there is other steps should be taken.</p>

<pre><code>UIButton *button = [UIButton buttonWithType:UIButtonTypeRoundedRect];
[button setTitle:@"button" forState: UIControlStateNormal];
playButton = button;
</code></pre>

<p>playButton is the IBoutlet of my ViewController.</p>
