> For the complete documentation index, see [llms.txt](https://adpopcornssp.gitbook.io/ssp-sdk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://adpopcornssp.gitbook.io/ssp-sdk/undefined-1/ap/ap-ios/ios-2.x.x/inmobi.md).

# InMobi

#### InMobi

{% embed url="<https://support.inmobi.com/monetize/sdk-documentation/ios-guidelines/overview-ios-guidelines>" %}

## 사용방법

{% hint style="warning" %}
**2) 초기 셋팅,  3) 초기화 진행은 위 링크에 들어가서 직접 설정하시는 것을 권장드립니다**
{% endhint %}

### 1) 설치

{% content-ref url="/pages/IP2R7MXm9WlEBdvJxfnZ" %}
[iOS 2.x.x (구버전)](/ssp-sdk/undefined-1/ap/ap-ios/ios-2.x.x.md)
{% endcontent-ref %}

### 2) 초기 셋팅

-> X

### 3) 초기화

**->** [**링크**](https://github.com/cauly/iOS-SDK?tab=readme-ov-file)&#x20;

{% tabs %}
{% tab title="Objective-C" %}

```objectivec
#import <InMobiSDK/InMobiSDK.h>

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

    ..
    
    [IMSdk setLogLevel:IMSDKLogLevelDebug];  // Log
    [IMSdk initWithAccountID:@<kIMAccountID> andCompletionHandler:^(NSError * _Nullable error) {
        NSLog(@"InMibi Setup ERROR: %@", error);
    }];
}
```

{% endtab %}

{% tab title="Swift" %}

```swift
import InMobiSDK

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
    
    IMSdk.setLogLevel(IMSDKLogLevel.debug)
        IMSdk.initWithAccountID("accountID", consentDictionary: [:]) { (error) in
            if let error = error {
                print(error.localizedDescription)
            }
           
        }   
    return true
}
```

{% endtab %}
{% endtabs %}

***

## Native 설정

-> 추가 예정
