1

When I place a UIButton on view that doesn't contain any white, a strange "gradient" is shown on the bottom of the button. This doesn't happen in iOS 5, nor does it happen when the background of the view beneath contains some white.

Here's a screenshot:

You see, on the bottom there's a sort of extra line, which I find quite ugly...

How do I remove/hide this effect?

Macro206
  • 2,143
  • 3
  • 19
  • 25

1 Answers1

2

As far as I can tell, the only way around this is to make Custom button. It's part of the Rounded Rect button and you can't get rid of it.

There's some interesting discussion of the problem here:

Button background and gradient change since iOS6

Community
  • 1
  • 1
matt
  • 515,959
  • 87
  • 875
  • 1,141