UIButton looks good in InterfaceBuilder, but not on iPad sim or device

Posted by morgancodes on Stack Overflow See other posts from Stack Overflow or by morgancodes
Published on 2010-04-10T17:16:37Z Indexed on 2010/04/10 17:23 UTC
Read the original article Hit count: 274

Filed under:
|
|

In InterfaceBuilder, I'm creating the simplest possible UIButton, by simply dragging from the Library panel into my view. After doing that, I get a nice UIButton that looks like this:

Pretty image

When I preview in the simulator, or view on my iPad device, my UIButton has a line underneath it, like this:

Ugly image

Anyone else have this problem? Anyone have a fix?

© Stack Overflow or respective owner

Related posts about ipad

Related posts about iphone