CJPAdController iOS 广告组件

程序名称:CJPAdController

授权协议: MIT

操作系统: iOS

开发语言: Objective-C

CJPAdController 介绍

CJPAdController 是个为应用提供简单方法来添加 iAd 和 Google AdMob 广告的控件。

示例代码:

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
    // Override point for customization after application launch.

    RootViewController *rootVC = [[RootViewController alloc] init];
    _navController = [[UINavigationController alloc] initWithRootViewController:rootVC];
    _adController = [[CJPAdController sharedManager] initWithContentViewController:_navController];

    self.window.rootViewController = _adController;
    [self.window makeKeyAndVisible];
    return YES;
}

CJPAdController 官网

https://github.com/chrisjp/CJPAdController

相关编程语言

Acapela TTS 是一个为 iPhone 和 iPad 开发的 TTS 引...
二维码(QR Code)扫描静态库,扫描效率较高。
RegexKitLite 是一个轻量级的 Objective-C 的正则表...
一款基于ASIHttpReques开源的仿迅雷多线程断点续传功...
实现动态检测网络(wifi)状况,不需要用户手动刷新...
使用iphoneSDK官方NSXMLParserDelegate做的简单xml解...