Keep

加入收藏
已有 16 人收藏

介绍:
    高仿KEEP登陆,一种引导页展示方式。

    使用 AVFoundation 在后面播放本地视频,再增加 scrollView 和 UIPageControl 实现滑动文本效果,可以突出产品品牌,视频生动,逼格升高。

    

    部分代码:

    @property(nonatomic,strong)MPMoviePlayerController *moviePlayer;

    @property(nonatomic ,strong)NSTimer *timer;

    @property (weak, nonatomic) IBOutlet UIView *alpaView;

    

    @property (weak, nonatomic) IBOutlet UIButton *regiset;

    @property (weak, nonatomic) IBOutlet UIButton *login;

    @property (weak, nonatomic) IBOutlet UIScrollView *scrollView;

    

    @property (weak, nonatomic) IBOutlet UIPageControl *pageControl;

测试环境:
  [Code4App]编译测试
效果图:
  • iOS / iPhone / iPad 高仿KEEP登陆,一种引导页展示方式。<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;使用 AVFoundation 在后面播放本地视频,再增加 scrollView 和 UIPageControl 实现滑动文本效果,可以突出产品品牌,视频生动,逼格升高。<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;部分代码:<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;@property(nonatomic,strong)MPMoviePlayerController *moviePlayer;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;@property(nonatomic ,strong)NSTimer *timer;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;@property (weak, nonatomic) IBOutlet UIView *alpaView;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;@property (weak, nonatomic) IBOutlet UIButton *regiset;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;@property (weak, nonatomic) IBOutlet UIButton *login;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;@property (weak, nonatomic) IBOutlet UIScrollView *scrollView;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;@property (weak, nonatomic) IBOutlet UIPageControl *pageControl;
代码评论:
登录后方可评论