Haven't looked at this in a while, so I could be misremembering, but I thought it was possible to set the clearButtonMode of a UISearchBar without walking the subviews to find the UITextField instance. I'm looking now and not seeing anything, so it's entirely possible that I was hallucinating.