mixi Ad Programビュークラス [詳細]
#import <MixiADBannerView.h>
Public メソッド | |
| (void) | - addOnTop |
| ウィンドウのルートビューの上にADビューを表示 | |
| (void) | - addOn: |
| 指定されたビューの上にADビューを表示 | |
Static Public メソッド | |
| (MixiADBannerView *) | + sharedView |
| 共有インスタンスを取得 | |
Protected 変数 | |
| int | currentContentSizeIdentifier_ |
| 現在のビューの向き | |
| BOOL | useOrientation_ |
| デバイスの向きに応じて表示を変更するかどうか | |
| MixiReporter * | mapReporter_ |
| mAPレポーター | |
プロパティ | |
| int | currentContentSizeIdentifier |
| BOOL | useOrientation |
| int | orientation |
| MixiReporter * | mapReporter |
mixi Ad Programビュークラス
mixi Ad Programを利用する場合はアプリケーションの上部に本ビューを表示してください。 デバイスの向きに応じて表示を変える場合はuseOrientationプロパティをYESに設定するか、 shouldAutorotateToInterfaceOrientation: メソッド内で明示的に orientation プロパティを設定してください。
― (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
self.mixiAdBannerView.orientation = interfaceOrientation;
}
| - (void) addOn: | (UIView*) | view |
指定されたビューの上にADビューを表示
| view | ビュー |
| + (MixiADBannerView *) sharedView |
共有インスタンスを取得
- (BOOL) useOrientation_ [protected] |
デバイスの向きに応じて表示を変更するかどうか
デフォルトではNO
1.7.4