美文网首页
多个引导页

多个引导页

作者: adalillian | 来源:发表于2020-05-27 08:14 被阅读0次

    pod 'KSGuaidView' 


    Style 1:

    #import<KSGuaidViewManager.h>- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions

     {                         

     KSGuaidManager.images= @[[UIImageimageNamed:@"guid01"],                        

     [UIImageimageNamed:@"guid02"],   

     [UIImageimageNamed:@"guid03"],       

    [UIImageimageNamed:@"guid04"]];CGSizesize = [UIScreenmainScreen].bounds.size;     

    KSGuaidManager.dismissButtonCenter=CGPointMake(size.width/2, size.height-80);                

    KSGuaidManager.dismissButtonImage= [UIImageimageNamed:@"hidden"];               

    [KSGuaidManagerbegin];returnYES;   

     }


    Style 2:

    #import<KSGuaidViewManager.h>- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions 

    {       

     KSGuaidManager.images= @[[UIImageimageNamed:@"guid01"], 

    [UIImageimageNamed:@"guid02"],  

    [UIImageimageNamed:@"guid03"],  

    [UIImageimageNamed:@"guid04"]]; 

    KSGuaidManager.shouldDismissWhenDragging=YES;        

    [KSGuaidManagerbegin];returnYES;    

    }

    相关文章

      网友评论

          本文标题:多个引导页

          本文链接:https://www.haomeiwen.com/subject/ofsljqtx.html