ksg

KSGuaidView

App第一次安装引导页面

Showing:

Popularity

Downloads/wk

0

GitHub Stars

258

Maintenance

Last Commit

4yrs ago

Contributors

0

Package

Dependencies

0

License

MIT

Categories

Readme

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].

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100