views:

287

answers:

2

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?

+1  A: 

This is by-design. iPad's UI is different from iPhone anyway.

If you don't want the shadow, create a custom (stretchable) background image.

KennyTM
Hmmm. Ok. Cool! Problem solved!
morgancodes
A: 

removed a comment, didn't work

Jackie Treehorn