ios - How to add multiple Detail View Controllers in Master-Detail application -


i trying build ipad master-detail app. master view tableviewcontroller. want change complete detail view every different cell user taps in master view. 1 of detail view controllers has allow user type data, other view something, etc. how can add more detailviewcontrollers master-detail app?

you should use replace segues purpose. connect many view controllers want directly master controller (not cells) replace segues, , give them identifiers. in didselectrowatindexpath:, implement whatever logic need relate index path controller want segue to, , call performseguewithidentifier:sender: initiate segue. if need pass data on next controller, can in prepareforsegue.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -