How to programmatically use UIButton in iPhone Development
<p>I encountered a weird problem.  when I try to add a UIButton in my customized ui view. the button title cannot display.  only draw the outside roundrect. regardless invoke setTitle:forState:   or button.backgroundColor=[UIColor redColor];  it also doesn't work.  but for backgroundColor,  at the rectangle angle corner, the bgcolor seems take a little bit filling up. </p>

<p>I initialized this button in "initWithNibName" method of custom view controller.  is it ok?  even I set this button reference to view controller's view property or just added it into other view. this issue also happens.</p>
