标签: uisplitviewdelegate

UISplitView showDetailViewController: not working on a device

I have a home page and when a certain button is pressed, it takes you to a split view with a table on the left (master) side and a view showing details on the right (detail) side. The app is working fine on the simulator, but when I run on my iPad mini I get an error.

When the user clicks on a table cell in the left (master) view, I call:

DetailViewController *detail = [self.storyboard instantiateViewControllerWithIdentifier:@"detailViewController"];
detail.jobInfo = [_fetchedResultsController …
Run Code Online (Sandbox Code Playgroud)

xcode uisplitview uisplitviewcontroller ios uisplitviewdelegate

2
推荐指数
1
解决办法
2073
查看次数