uisplitviewdelegate

Sometimes willHideViewController from UISplitViewControllerDelegate is not called

南笙酒味 提交于 2019-12-10 06:51:18
问题 I have a problem. My app is a tab bar controller and its first view controller is a split view controller. This seems to be not ok for Apple because documents say a split voew controller must be the root, so perhaps that is the reason of my problems. The problem is that sometimes, willHideViewController from UISplitViewControllerDelegate is not called, so, for this reason, the upper/left button sometimes is not created, which is anoying. I realised, to reproduce this error, try several times

UISplitView with Multiple Detail Views (with Storyboard)

笑着哭i 提交于 2019-12-07 16:52:06
问题 I've been trying to create a version of this code using a storyboard: I want to be able to switch between two different detail views, depending on the cell selected in the navigation table. I've tried to implement this by creating a SplitViewManager with a custom setter method that swaps out the detail views each time a different cell is selected. This is the same approach that Apple's sample code uses. The SplitViewManager follows the delegate. I think my issue is that I haven't connected my

UISplitView with Multiple Detail Views (with Storyboard)

自闭症网瘾萝莉.ら 提交于 2019-12-06 02:59:46
I've been trying to create a version of this code using a storyboard : I want to be able to switch between two different detail views, depending on the cell selected in the navigation table. I've tried to implement this by creating a SplitViewManager with a custom setter method that swaps out the detail views each time a different cell is selected. This is the same approach that Apple's sample code uses. The SplitViewManager follows the delegate. I think my issue is that I haven't connected my splitViewController.delegate to anything, so I can't assign the splitViewManager to anything either.

Sometimes willHideViewController from UISplitViewControllerDelegate is not called

我与影子孤独终老i 提交于 2019-12-05 12:18:30
I have a problem. My app is a tab bar controller and its first view controller is a split view controller. This seems to be not ok for Apple because documents say a split voew controller must be the root, so perhaps that is the reason of my problems. The problem is that sometimes, willHideViewController from UISplitViewControllerDelegate is not called, so, for this reason, the upper/left button sometimes is not created, which is anoying. I realised, to reproduce this error, try several times this: -Landscape mode. -Select a tab different to split view controller tap. -Move the iPad to portrait