alt text http://img210.imageshack.us/img210/5992/searchdisplaycontroller.png
Are the following objects customizable?
1. UISearchBar Scope Buttons (UISegm
alt text http://img527.imageshack.us/img527/9775/searchdisplaycontrollerz.png
I was able to change the segmented control by a sort-of hack code:
- (void)searchDisplayControllerWillBeginSearch:(UISearchDisplayController *)controller {
for (UIView *subview in self.view.subviews) {
for (UIView *subview2 in subview.subviews) {
if ([subview2 isKindOfClass:[UISegmentedControl class]]) {
UISegmentedControl *segmentedControl = (UISegmentedControl *)subview2;
segmentedControl.tintColor = [UIColor blackColor];
segmentedControl.segmentedControlStyle = UISegmentedControlStyleBar;
}
}
}}
However the buttons are HUGE, how could I fix it so they are just as pretty as the original?