引导页的展示

在AppDelegate中进行判断   

 //引导页

    if(![[NSUserDefaults standardUserDefaults] boolForKey:@"firstLaunch"]){

        [[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"firstLaunch"];

        //如果是第一次启动的话,使用UserGuideViewController (用户引导页面) 作为根视图

        UserGuideViewController *userGuideViewController = [[UserGuideViewController alloc] init];

        userGuideViewController.delegate = self;

        self.window.rootViewController = userGuideViewController;

        return;

    }

原文地址:https://www.cnblogs.com/liuyingjie/p/5257623.html