AppoxeeSDK 4.1.4

AppoxeeSDK 4.1.4

测试已测试
语言 Obj-CObjective C
许可协议 自定义
发布最新发布2016年10月

Raz Elkayam维护。



  • Appoxee提供

Appoxee SDK

该仓库包含Appoxee iOS SDK。

集成

Cocoa pods

target 'project_name' do
    pod 'AppoxeeSDK'
end

或者

target 'project_name' do
    pod 'AppoxeeSDK', :git => 'https://github.com/AppoxeeMobile/iosArtifacts.git', :tag => '4.1.4'
end

手动

  • AppoxeeSDK.framework拖放到您的项目中。
  • AppoxeeSDKResources.bundle拖放到您的项目中。
  • UserNotifications.framework链接到您的项目中。

配置文件

请确保提供AppoxeeConfig.plist文件。

Image of AppoxeeConfiguration.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
    <dict>
        <key>sdk</key>
        <dict>
            <key>sdk_key</key>
            <string>123456789.00</string>
            <key>is_eu</key> <!-- Optional, indicate if account is EU / US -->
            <false/>
            <key>open_landing_page_inside_app</key> <!-- Optional, indicate if landing page should open inside the app or via Safari -->
            <false/>
        </dict>
    </dict>
</plist>

实现

Objective-C

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    [[Appoxee shared] engageAndAutoIntegrateWithLaunchOptions:launchOptions andDelegate:nil];

    return YES;
}

Swift

func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {

    Appoxee.shared()?.engageAndAutoIntegrateWithLaunchOptions(launchOptions, andDelegate: nil)

    return true
}

许可协议

http://www.appoxee.com/terms/