这是indexloc提供的服务,不要输入任何密码
Skip to content

imobile-maio/maio-iOS-SDK

Repository files navigation

maio iOS SDK

  • Version: 1.5.6
  • Released: 2020/11/26
  • Supported: iOS 8.0+ (Xcode 11+)

What is maio?

maio はこれまでのバナー広告に加え、新たな広告収益の機会を得ることが可能な動画広告プラットフォームです。 バナー広告と違い、デベロッパーの設定したタイミングで、動画広告をコンテンツの一部として配信することができます。

また、動画広告再生後にアプリ内通貨やライフ等の報酬(リワード)をユーザーに還元する事で、動画広告の再生数が増加し、収益の最大化が見込めます。 今までユーザーが離脱していたポイントに 動画広告 + リワード を入れる事で、ユーザーのストレスを解消しアクティブ率を向上させる事も可能です。

Quick Start

maio SDKの取得

maioを導入したいプロジェクトのPodfileに、以下の内容を追加します。

pod 'MaioSDK'

maio SDKの準備

[Maio startWithMediaId:delegate:]を呼び出し、maio SDKの初期化を開始します。

// AppDelegate.m

#import <Maio/Maio.h>

@implementation AppDelegate

- (BOOL) application: (UIApplication *) application didFinishLaunchingWithOptions: (NSDictionary *) launchOptions {

    // 広告の配信テスト設定を行います。アプリをリリースする際にはコメントアウトしてください。
    [Maio setAdTestMode: YES];

    // maio SDKの初期化を開始します。
    // MAIO_MEDIA_ID は、Maio管理画面より割り当てられたメディアIDに差し替えてください。
    [Maio startWithMediaId: @"MAIO_MEDIA_ID" delegate: nil];
}

@end

maioの表示

[Maio canShow]で、表示準備が完了したか確認し、[Maio showWithViewController:]で表示します。

#import <Maio/Maio.h>

@implementation ViewController

- (IBAction) showAd: (UIButton*) sender {
    if ([Maio canShow]) {
        [Maio showWithViewController:self];
    }
}

@end

Manual Download

releases から最新のリリースバージョンをダウンロードして下さい。

Get Started

日本語 wiki/Get-Started

English wiki/Get-Started

API Reference

日本語 wiki/API-Reference

English wiki/API-Reference

FAQ

日本語 wiki/FAQ

English wiki/FAQ

Contact Us

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 6