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];









网友评论