Latest 0.0.5
Homepage https://github.com/iCloudys/KSGuaidView
License MIT
Platforms ios 8.0, requires ARC
Authors

KSGuaidView(中文版)

License MIT
Pod version
Platform info


Summary

KSGuaidView is the tool to display new features when APP is first installed or updated.

图一
图二

Installation

pod 'KSGuaidView'      

Usage

Style 1:

    #import <KSGuaidViewManager.h>
    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {                  
        KSGuaidManager.images = @[[UIImage imageNamed:@"guid01"],
                                    [UIImage imageNamed:@"guid02"],
                                    [UIImage imageNamed:@"guid03"],
                                    [UIImage imageNamed:@"guid04"]];

        CGSize size = [UIScreen mainScreen].bounds.size;
        KSGuaidManager.dismissButtonCenter = CGPointMake(size.width / 2, size.height - 80);

        KSGuaidManager.dismissButtonImage = [UIImage imageNamed:@"hidden"];

        [KSGuaidManager begin];

        return YES;
    }

Style 2:


    #import <KSGuaidViewManager.h>

    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
        KSGuaidManager.images = @[[UIImage imageNamed:@"guid01"],
                                    [UIImage imageNamed:@"guid02"],
                                    [UIImage imageNamed:@"guid03"],
                                    [UIImage imageNamed:@"guid04"]];

        KSGuaidManager.shouldDismissWhenDragging = YES;
        [KSGuaidManager begin];

        return YES;
    }   

Attention

  • You should set upKSGuaidManager.images .
  • Style 1 will ignore if you set up KSGuaidManager.shouldDismissWhenDragging = YES .
  • You should set upKSGuaidManager.dismissButtonImage if you didn`t set up KSGuaidManager.shouldDismissWhenDragging or KSGuaidManager.shouldDismissWhenDragging = NO .
  • Finally you need to call[KSGuaidManager begin].

Latest podspec

{
    "name": "KSGuaidView",
    "version": "0.0.5",
    "summary": "App new feature page App",
    "description": "App new feature pagenAppu65b0u7279u6027u9875u9762",
    "homepage": "https://github.com/iCloudys/KSGuaidView",
    "license": "MIT",
    "authors": {
        "iCloudys": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/iCloudys/KSGuaidView.git",
        "tag": "0.0.5"
    },
    "source_files": "KSGuaidView/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This