From 33539a3c9c8534776722aa1148499f984e0019e7 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 2 Oct 2019 13:59:51 +0300 Subject: Move loginSegue to Tab bar controller --- Juick/AppDelegate.m | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Juick/AppDelegate.m') diff --git a/Juick/AppDelegate.m b/Juick/AppDelegate.m index 61c8da5..3bdb774 100644 --- a/Juick/AppDelegate.m +++ b/Juick/AppDelegate.m @@ -147,4 +147,8 @@ NSString * const UserUpdatedNotificationName = @"UserUpdated"; return [mainStoryboard instantiateViewControllerWithIdentifier:@"threadViewControllerIdentifier"]; } +- (void) presentLoginView:(UIViewController *)vc { + [self.window.rootViewController performSegueWithIdentifier:@"loginSegue" sender:vc]; +} + @end -- cgit v1.2.3