AdstirLoadSmallImageDeledate Protocol Reference - united-adstir/AdStir-Integration-Guide-iOS GitHub Wiki
ネイティブ広告のデリゲートです。
AdstirLoadSmallImageDeledateのメソッドはすべてバックグラウンドスレッドで動作します。
UIを操作する場合はperformSelectorOnMainThread:withObject:waitUntilDone:やdispatch_sync(dispatch_get_main_queue(), ^(void){});を利用してください。
Instance Methods
-adstirDidLoadSmallImage:
アイコン画像が読み込まれた際に呼ばれます。アイコン画像はNSData型で受け取ります。
- (void)adstirDidLoadSmallImage:(NSData *) data;
Parameters
- data
- アイコン画像
-adstirDidFailToLoadSmallImage
アイコン画像の読み込みに失敗した際に呼ばれます。
- (void)adstirDidFailToLoadSmallImage;