美文网首页
获取main类,跳转

获取main类,跳转

作者: c5550ea746f8 | 来源:发表于2018-01-18 10:20 被阅读2次

NSMutableDictionary* dic=[NSMutableDictionary dictionaryWithContentsOfFile:FILE_PATH(@"LoginData.plist")];

        [dic removeAllObjects];

        [dic writeToFile:FILE_PATH(@"LoginData.plist") atomically:YES];

        [[CheckUserData shareInstance] setIsLogin:NO];

        BaseTabBarViewController* tabbar=[[UIStoryboard storyboardWithName:@"Main" bundle:[NSBundle mainBundle]]instantiateViewControllerWithIdentifier:@"tabbar"];

        [self presentViewController:tabbar animated:NO completion:nil];

相关文章

网友评论

      本文标题:获取main类,跳转

      本文链接:https://www.haomeiwen.com/subject/svmioxtx.html