Change button style

iPhone SDK Tips & Tricks

myButton.barStyle = UIBarStyleBlackTranslucent;

UIBarStyle:
UIBarStyleBlackTranslucent - gray
UIBarStyleDefault - blue
UIBarStyleBlackOpaque - black