delegate_sdgj
来源:互联网 发布:淘宝我的评价在哪 编辑:程序博客网 时间:2024/04/30 20:35
NSArray *first_start_arr = @[@"引导页1",@"引导页2",@"引导页3"];
NSString *start_image =@"水电管家启动页";
UIStoryboard *storyboard;
UIViewController *vc ;
UITabBarController *tb;
storyboard = [UIStoryboard
storyboardWithName:@"Main"bundle:nil];
vc = [storyboard instantiateViewControllerWithIdentifier:@"ViewController"];
vc.view.backgroundColor = [UIColorblackColor];
tb= vc.navigationController.tabBarController;
NSUserDefaults *user = [NSUserDefaultsstandardUserDefaults];
NSString *user_id = [userobjectForKey:@"userid"];
NSString *user_pwd = [userobjectForKey:@"userpwd"];
if (user_id!=NULL&&user_pwd!=NULL) {
//播放正常启动页,并加载故事 板模块;
} else {
//播放首次启动页,并加载故事板模块;
}
returnYES;