I have a UISearchBar that has a cancel button (it\'s displayed using -(void)setShowsCancelButton:animated). I\'ve changed the tintColor of the sear
-(void)setShowsCancelButton:animated
tintColor
stupid way
for(id cc in [SearchBar subviews]) { if([cc isKindOfClass:[UIButton class]]) { UIButton *btn = (UIButton *)cc; ...... Do whatever you want ....... } }