Skip to content

Instantly share code, notes, and snippets.

@cbowns cbowns/gist:2588474
Created May 3, 2012

What would you like to do?
// Please don’t do this.
// Need to change UISearchBar’s cancel button text?
// Well, there’s no API for that.
// (Sorry UIKit.)
UISearchBar *searchBar = [self.searchDisplayController searchBar];
for (UIView *view in [searchBar subviews]) { … <left as an exercise to the adventurous> }

This comment has been minimized.

Copy link
Owner Author

cbowns commented May 3, 2012

(If you work at Apple: before you ask me for a Radar number, go read these.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.