How do I reference the detailViewController on an iPad that is using a splitViewController

前端 未结 3 465
不思量自难忘°
不思量自难忘° 2021-01-24 20:07

I setup a project on XCode 4.3 and IOS 5 without using storyboards for both iPhone and iPad using the default Master/Detail setup from the create new project dialog.

The

3条回答
  •  孤独总比滥情好
    2021-01-24 20:43

    I was puzzled by the templates implementation of the Master/Detail view. I asked a similar question:

    How to update DetailView using MasterDetail Application Template

    You can use the detailItem (id - so you can pass in a reference) property that is set up by default for the DetailViewController class.

提交回复
热议问题