app引导页

移动开发
简单实用的app引导页,能后在图片之间渐变切换,最后进入主VC.

源码简介:简单实用的app引导页,能后在图片之间渐变切换,***进入主VC.

源码效果:

源码片段:

  1. 导入ZWIntroductionViewController.h/m文件:  
  2.   
  3. #import "ZWIntroductionViewController.h"  
  4.   
  5. - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {  
  6.     // ...   
  7. // 定制引导页的图片内容  
  8. NSArray *coverImageNames = @[@"img_index_01txt", @"img_index_02txt", @"img_index_03txt"];  
  9. NSArray *backgroundImageNames = @[@"img_index_01bg", @"img_index_02bg", @"img_index_03bg"];  
  10. self.introductionView = [[ZWIntroductionViewController alloc] initWithCoverImageNames:coverImageNames backgroundImageNames:backgroundImageNames];  
  11.   
  12. [self.window addSubview:self.introductionView.view];  
  13.   
  14. __weak AppDelegate *weakSelf = self;  
  15. self.introductionView.didSelectedEnter = ^() {  
  16.     [weakSelf.introductionView.view removeFromSuperview];  
  17.     weakSelf.introductionView = nil;  
  18.   
  19.     // enter main view , write your code ...  
  20.    //可以在这个block里面进入自己的主VC  
  21.   
  22. };  

下载地址:http://down.51cto.com/data/2096557

责任编辑:倪明 来源: devstore
相关推荐

2015-09-09 11:05:52

3d视差引导页

2015-01-22 14:12:40

Android源码APP启动引导

2021-08-26 15:41:40

鸿蒙HarmonyOS应用

2022-06-01 22:30:15

滑动容器堆叠容器

2022-05-31 14:32:23

Stack堆叠容器

2010-03-04 15:37:17

Linux优盘引导安装

2010-05-07 15:37:27

Unix应急引导盘

2015-09-07 10:45:11

转化率授权app

2010-03-04 15:20:30

Linux优盘引导安装

2010-05-10 14:20:22

Unix引导串

2010-06-03 10:22:17

Hadoop入门

2010-05-10 14:51:56

Unix系统

2010-01-12 13:19:29

Fedora安装

2011-09-01 13:58:24

UbuntuBootmgr

2010-01-06 18:26:10

Ubuntu内核

2009-11-27 09:18:44

HP引导SuSE 9

2020-04-08 13:05:03

TraefikKubernetes树莓派

2010-01-04 11:30:07

Ubuntu GRUB

2017-12-11 16:07:16

APPXposed模块

2015-11-23 13:17:42

引导设计
点赞
收藏

51CTO技术栈公众号