Skip to content

Instantly share code, notes, and snippets.

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

Embed
What would you like to do?
subviewsAsAPI
// 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> }
@cbowns

This comment has been minimized.

Copy link
Owner Author

commented May 3, 2012

(If you work at Apple: before you ask me for a Radar number, go read these. http://openradar.appspot.com/search?query=uisearchbar)

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.