The UISearchBar
seems to have the inputAccessoryView
as a readOnly
property. How do I set it with my own customToolbar ?
相关问题
- CALayer - backgroundColor flipped?
- Core Data lightweight migration crashes after App
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- back button text does not change
相关文章
- 现在使用swift开发ios应用好还是swift?
- Could I create “Call” button in HTML 5 IPhone appl
- TCC __TCCAccessRequest_block_invoke
- xcode 4 garbage collection removed?
- Xcode: Is there a way to change line spacing (UI L
- Unable to process app at this time due to a genera
- How can I add media attachments to my push notific
- How do you detect key up / key down events from a
Edit: As is mentioned in the comments below, this is no longer an issue post iOS 6. See the
UISearchBar
documentation here.The
UIResponder
(of whichUISearchBar
is an indirect subclass of) class documentation details a way to accomplish this:e.x.
As of iOS 6.0 the inputAccessoryView is now readwrite!