How to implement: I have UIBarButtonItem with search icon, after click on it, I want to show search bar in navigation bar and on click cancel button in search bar, I want to show navigation bar without search and with buttons and title like in IOS 7 calendar app.
相关问题
- @objc protocol crashes the swift compiler
- Getting UITableViewCell from its superview iOS 7 i
- Access paging in iOS - previous and next : retriev
- Install Ad Hoc distributed app on iOS via USB, usi
- UITableViewCell top shadow is covered by UITableVi
相关文章
- didBeginContact:(SKPhysicsContact *)contact not in
- ios7 new pan gesture to go back in navigation stac
- IOS UICollectionview Dynamically change Cell's
- PhoneGap iOS 7 and localStorage
- Add UITextField to title view of navigation item
- iOS7 crashing - [__NSPlaceholderDictionary initWit
- SKStoreProductViewController rate disabled on iOS
- Chrono Timer Not Converting Seconds Properly
from apple documentation:
In iOS 7, UISearchDisplayController includes the displaysSearchBarInNavigationBar property, which you can use to put a search bar in a navigation bar, similar to the one in Calendar on iPhone:
https://developer.apple.com/library/ios/documentation/userexperience/conceptual/TransitionGuide/Bars.html