匿名用户2015年07月01日
36阅读
所属分类Objective-C、iOS代码库、其他(Others)
授权协议MIT

作品详情

FTMoreApps是一个iOS库,可以在你的应用中创建显示视图控制器,来展示你的app的开发者页面。

使用示例:

#import <FTMoreApps/FTMoreApps.h>...- (IBAction)buttonPressed:(id)sender {    FTMoreApps *moreAppsManager = [FTMoreApps sharedManager];    [moreAppsManager presentMoreAppsInViewController:self                                         developerId:@"318226300" // You can find your developer id in your iTunes link of your apps: https://itunes.apple.com/us/artist/felipe-tumonis/id318226300?mt=8                                     descriptionType:FTDescriptionTypeScreenshots                                          completion:nil];    /*     // OR    [moreAppsManager presentMoreAppsInViewController:self                                              appIds:@[@"app_id_1", @"app_id_2", ...] // The ids of the apps you want to show                                     descriptionType:FTDescriptionTypeText                                          completion:nil];    */    moreAppsManager.showActionButton = NO;    moreAppsManager.showPrice = NO;    moreAppsManager.title = NSLocalizedString(@"More apps", nil);    moreAppsManager.willDismissBlock = ^{        NSLog(@"will dismiss more apps view controller");    };    moreAppsManager.didDismissBlock = ^{        NSLog(@"did dismiss more apps view controller");    };    moreAppsManager.didSelectAppBlock = ^(NSString *appId){        NSLog(@"did select app id: %@", appId);    };

}

声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论