Latest 1.0.0
Homepage https://github.com/jinht/GuidePages
License MIT
Platforms ios 8.0
Frameworks UIKit
Authors

GuidePages

引导页/首次安装引导页/APP介绍页/功能介绍页

先上图,看一下是否符合你的场景吧!

JhtGuidePagesJhtGuidePages

Function Description

  1. 传统引导页功能
  2. 引导页之间渐变切换
  3. 简洁的个性化设置UI及切换动画

How to use

1. 传统引导页功能:通过传入图片名数组即可

/** 初始化方法
 *  coverNames:封面图片名数组(多为带文字图片)
 */
- (id)initWithCoverImageNames:(NSArray *)coverNames;

2. 引导页之间渐变切换:通过传入封面图片名数组(多为带文字图片)和背景图片名数组即可

/** 初始化方法
 *  coverNames:封面图片名数组(多为带文字图片)
 *  bgNames:背景图片名数组
 */
- (id)initWithCoverImageNames:(NSArray *)coverNames withBackgroundImageNames:(NSArray *)bgNames;

3 简洁的个性化UI设置及切换动画

3.1 设置<Enter>按钮,可以通过初始化方法传入自己定制的<Enter>按钮(按钮frame亦可以自己定制)
/** 初始化方法
 *  coverNames:封面图片名数组(多为带文字图片)
 *  bgNames:背景图片名数组
 *  withEnterButton:<Enter>按钮
 *  LRVC:引导页展示完成后出现的VC
 */
- (id)initWithCoverImageNames:(NSArray *)coverNames withBackgroundImageNames:(NSArray *)bgNames withEnterButton:(UIButton *)button withLastRootViewController:(UIViewController *)LRVC;
3.2 导页展示完成后切换至目标VC动画
/** 导页展示完成后切换至目标VC 动画时间
 *  default:0.5f
 */
@property (nonatomic, assign) CGFloat animationDuration;
/** 引导页展示完成后切换至目标VC 动画类型
 *  default:UIViewAnimationOptionTransitionCrossDissolve
 */
@property (nonatomic, assign) UIViewAnimationOptions animationOptions;
3.3 设置pageControl,可以通过以下参数设置pageControl
/** 是否隐藏pageControl(默认不隐藏) */
@property (nonatomic, assign) BOOL isHiddenPageControl;
/** pageControl的Y坐标(默认距离底部30.0)  */
@property (nonatomic, assign) CGFloat pageControlY;
/** pageControl的pageIndicatorTintColor(默认[UIColor grayColor]) */
@property (nonatomic, strong) UIColor *pageIndicatorTintColor;
3.4 设置<跳过>按钮
/** 是否添加<跳过>按钮(默认不需要) */
@property (nonatomic, assign) BOOL isNeedSkipButton;
/** <跳过>按钮背景图片名 */
@property (nonatomic, copy) NSString *skipButtonBackgroundImageName;

注:假使自己传入<跳过>按钮背景图片,需要注意一下大小,按钮大小设置是根据图片大小动态设置的

Remind

  • ARC
  • iOS >= 8.0
  • iPhone iPad

Hope

  • If you find bug when used,Hope you can Issues me,Thank you or try to download the latest code of this framework to see the BUG has been fixed or not
  • If you find the function is not enough when used,Hope you can Issues me,I very much to add more useful function to this framework ,Thank you !

Latest podspec

{
    "name": "JhtGuidePages",
    "version": "1.0.0",
    "summary": "u5f15u5bfcu9875/u9996u6b21u5b89u88c5u5f15u5bfcu9875/u6e10u53d8u5f15u5bfcu9875/APPu4ecbu7ecdu9875/u529fu80fdu4ecbu7ecdu9875",
    "homepage": "https://github.com/jinht/GuidePages",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Jinht": "[email protected]"
    },
    "social_media_url": "https://blog.csdn.net/Anticipate91",
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/jinht/GuidePages.git",
        "tag": "1.0.0"
    },
    "resources": "JhtGuidePages_SDK/skip_button.bundle",
    "ios": {
        "vendored_frameworks": "JhtGuidePages_SDK/JhtGuidePages.framework"
    },
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This