Closed willhains closed 9 years ago
Fixed in eb5ee932a8434a0d6af5ace19d8022892e978e4e
@gruber:
http://stackoverflow.com/questions/19161652/change-the-font-size-and-font-style-of-uisearchbar-ios-7
I tried this, but couldn't get it to work. Also, it requires a Swift–ObjC bridge, which would have been more lines of code than the solution I ended up using. It's somewhat hacky, but has the same chance of breaking as the appearance proxy approach, in as much as they both depend on UISearchBar containing a UITextField subclass.
I hope that in the future, iOS exposes more ways to customise UISearchBar. For now, this works.
@gruber