로딩중입니다
IGAW common integration : iOS
3/19/2015 4:28:33 PM

IGAW Common Modules

Proceed with the common integration process after installing the SDK.

The basic setting to use the IGAWorks service via the common API integration.

After the common integration is completed, the header of the respective services should be imported to proceed to the add-on integration process. 

SDK Installation : iOS ]


Common API


SDK Initialization

Set the reward server integration system for the app key and hash key, which were generated after registering the app on the website (*).

igaworksADWithAppKey: andHashKey: andIsUseIgaworksRewardServer API should be called from application: didFinishLaunchingWithOptions: of AppDelegate.

#import "AppDelegate.h"
#import <IgaworksAD/IgaworksAD.h>
 
@implementation AppDelegate
 
-(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
	[IgaworksAD igaworksADWithAppKey:@"Set app key" andHashKey:@"Set hash key"
		 andIsUseIgaworksRewardServer:NO]; 
	return YES;
}

 

Log Level Setting

Set the log level to be displayed by the SDK.

Use the setLogLevel API for setting. The value to decide the level shall be based on the enum defined in  IgaworksAD.h. See below for the specific levels.

  • IgaworksADLogInfo : Display only the basic log according to the info.
  • IgaworksADLogDebug : Display the log according to the debug included in the info.
  • IgaworksADLogTrace : Display all available logs.
[IgaworksAD setLogLevel:IgaworksADLogTrace];


Apple Advertising Identifier(IDFA) Registration

IDFA is required to use IGAWorks' services.

Please refer below guide to add IDFA in IgaworksCore framework. 

[IGAWorks iOS IDFA Registration Guide]

Note. IDFA is not registered, adbrix Tracking Link, adPOPcorn OfferWall, Live Operation will not work.




IGAWorks Add-on Integration

If the common integration process is completed, refer to the appropriate service guide to proceed with the add-on integration.


       
iOS SDK Framework Installation Guide! 
Please finish the common integration and install below according to service guide. 
- In case of using CocoaPods, check Podfile content  
- In case of manually installing, add Dependencies and Bundle