iOS 图片查看器:NFXTourViewController
jopen
10年前
NFXTourViewController 是 ViewController,帮助用户用一种简单的方式查看图片。
#import "NFXIntroViewController.h" UIImage*i1 = [UIImage imageNamed:@"101"]; UIImage*i2 = [UIImage imageNamed:@"102"]; UIImage*i3 = [UIImage imageNamed:@"103"]; UIImage*i4 = [UIImage imageNamed:@"104"]; UIImage*i5 = [UIImage imageNamed:@"105"]; UIImage*i6 = [UIImage imageNamed:@"106"]; UIImage*i7 = [UIImage imageNamed:@"107"]; UIImage*i8 = [UIImage imageNamed:@"108"]; UIImage*i9 = [UIImage imageNamed:@"109"]; NFXIntroViewController*vc = [[NFXIntroViewController alloc] initWithViews:@[i1,i2,i3,i4,i5,i2,i6,i7,i8,i9]]; [self presentViewController:vc animated:true completion:nil];