简体   繁体   中英

Loading a new view from selected row in UISearchDisplayController

I have a searchDisplayController to search for scripts in the financial app that I'm working on. My requirement is that when the user selects a row from the searchDisplayController 's searchResultsTableview , a new view should be shown taking up the space occupied by the searchResultsTableview , with the details of the selected item. I'm stuck at this point and did not find anything useful after searching for a whole day on the Internet. Also, my searchDisplayController does not cover the navigationBar as it should, by default. Please help. Any tutorial or ideas on this welcome... Thanks in advance!

NOTE: I use xib files for creating the UI. Xcode version 4.2.

Are you using navigation controller to manage multiple views? If you have details to display on selection of a row I would suggest using a nav controller.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM