diff options
author | Vitaly Takmazov | 2021-11-19 17:37:43 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2021-11-19 17:37:43 +0300 |
commit | 65771b0d70a26aab2c71602390280c41b6bb6862 (patch) | |
tree | 82a3fcd6ffdad039fc4adf914591aa5e4ba1eb51 /Juick/AppDelegate.m | |
parent | 7b55cfa71cbbad62026b9a8781e910dfc869be57 (diff) |
Initial split view integration
Diffstat (limited to 'Juick/AppDelegate.m')
-rw-r--r-- | Juick/AppDelegate.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Juick/AppDelegate.m b/Juick/AppDelegate.m index cf2099a..da72111 100644 --- a/Juick/AppDelegate.m +++ b/Juick/AppDelegate.m @@ -160,7 +160,8 @@ } - (UINavigationController *) navigator { - return [[(UINavigationController *)self.window.rootViewController viewControllers] firstObject]; + UINavigationController *secondaryNavigationController = [(UISplitViewController *)self.window.rootViewController viewControllers][1]; + return [[secondaryNavigationController viewControllers] firstObject]; } - (void)presentThread:(UIViewController *)vc { |