Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UIButton Differences between iOS 5.1 and 6.1

I placed 3 buttons into my view, set up background image and sometimes I need to disable one of them. I find out that they appear different in iOS 5.1 and 6.1. I like the 6.1 version. What should I do to make the design in 5.1 will be the same as in 6.1?

1) look at the white strip at the bottom of picture

2) third button is disabled and is quite lighter than in 6.1

iOS5.1 <-- iOS5.1 iOS6.1 <-- iOS6.1

PS: thank you for reputation points :)

like image 475
jpecinovsky Avatar asked Feb 22 '13 23:02

jpecinovsky


1 Answers

The white artifact seems to be a default white rounded rect frame. Did you set button type to UIButtonTypeCustom?

like image 59
proxi Avatar answered Oct 05 '22 09:10

proxi