Add the ABCIntroView Delegate Method: 添加ABCIntroView代理方法
#pragma mark - ABCIntroViewDelegate Methods-(void)onDoneButtonPressed{// Uncomment so that the IntroView does not show after the user clicks "DONE"// NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]// [defaults setObject:@"YES"forKey:@"intro_screen_viewed"];// [defaults synchronize];[UIView animateWithDuration:1.0 delay:0 options:UIViewAnimationOptionCurveEaseInOut animations:^{self.introView.alpha = 0;} completion:^(BOOL finished) {[self.introView removeFromSuperview];}];
}
If you have any questions about the project, please don't hesitate to ask.