# iOS 사용 중단 예정 API

> iOS (Objective-C)에서 사용 중단 예정인 Unity Ads SDK 클래스와 대체 및 제거 버전을 식별합니다.

## iOS 사용 중단 예정 클래스(Objective-C)##ios-deprecated-classes-(objective-c)

다음 API 클래스는 iOS SDK에서 지원 중단 예정이거나 더 이상 사용되지 않습니다.

| **제거 예정인 API**                                                                                                                                                                                                                  | **해당 버전에서 사용 중단 예정** | **대신 사용할 항목**                                                                                   | **해당 버전에서 제거됨** | **사용 중단 사유**                          |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- | ----------------------------------------------------------------------------------------------- | --------------- | ------------------------------------- |
| `UnityAdsDelegate`                                                                                                                                                                                                              | NA                   | `UnityAdsInitializationDelegate`, `UnityAdsLoadDelegate` 및 `UnityAdsShowDelegate` 인터페이스를 사용합니다. | 4.0.0           | 통합된 `Initialize` API로 대체됩니다.          |
| `UnityAdsDelegateUtil`                                                                                                                                                                                                          | NA                   | `UnityAdsInitializationDelegate`, `UnityAdsLoadDelegate` 및 `UnityAdsShowDelegate` 인터페이스를 사용합니다. | 4.0.0           | 통합된 `Initialize` API로 대체됩니다.          |
| `UADSInAppPurchaseMetaData`                                                                                                                                                                                                     | NA                   | 직접 대체하는 항목이 없지만 일반 `MetaData` 클래스를 사용하면 됩니다.                                                    | 4.0.0           | 통합된 `Initialize` API로 대체됩니다.          |
| `UnityAdsExtendedDelegate`                                                                                                                                                                                                      | NA                   | `UnityAdsInitializationDelegate`, `UnityAdsLoadDelegate` 및 `UnityAdsShowDelegate` 인터페이스를 사용합니다. | 4.0.0           | 통합된 `Initialize` API로 대체됩니다.          |
| ```objective-c
initialize: (NSString *)gameId
delegate: (nullable id&#x3-c;-unity-ads-delegate>)
```                                                                                                                            | 3.4.0                | 통합 `Initialize` 메서드 서명을 사용합니다.                                                                  | 4.0.0           | 통합된 `Initialize` API로 대체됩니다.          |
| ```objective-c
initialize: (NSString *)gameId
delegate: (nullable id&#x3-c;-unity-ads-delegate>)delegate
testMode: (BOOL)testMode
```                                                                                           | 3.4.0                | 통합 `Initialize` 메서드 서명을 사용합니다.                                                                  | 4.0.0           | 통합된 Initialize API로 대체됩니다.            |
| ```objective-c
initialize: (NSString *)gameId
delegate: (nullable id&#x3-c;-unity-ads-delegate>)delegate
testMode: (BOOL)testMode
enablePerPlacementLoad: (BOOL)enablePerPlacementLoad
```                                      | 3.4.0                | 통합 `Initialize` 메서드 서명을 사용합니다.                                                                  | 4.0.0           | 통합된 Initialize API로 대체됩니다.            |
| ```text
initialize: (NSString *)gameId
testMode: (BOOL)testMode
enablePerPlacementLoad: (BOOL)enablePerPlacementLoad
```                                                                                                        | 3.4.0                | 통합 `Initialize` 메서드 서명을 사용합니다.                                                                  | 4.0.0           | 통합된 `initialize` API로 대체됩니다.          |
| ```text
initialize: (NSString *)gameId
testMode: (BOOL)testMode
enablePerPlacementLoad: (BOOL)enablePerPlacementLoad
initializationDelegate: (nullable id&#x3-c;-unity-ads-initialization-delegate>)initializationDelegate;
``` | 3.4.0                | 통합된 `Initialize`] 메서드 서명을 사용합니다.                                                                | 4.0.0           | 통합된 `initialize` API로 대체됩니다.          |
| `show: (UIViewController *)viewController`                                                                                                                                                                                      | 3.7.0                | 업데이트된 `show` 메서드 서명을 사용합니다.                                                                     | 4.0.0           | `show` API가 콜백과 함께 제공됩니다.             |
| ```text
show: (UIViewController *)viewController
placementId: (NSString *)placementId
```                                                                                                                                       | 3.7.0                | 업데이트된 `show` 메서드 서명을 사용합니다.                                                                     | 4.0.0           | `show` API가 콜백과 함께 제공됩니다.             |
| ```text
show: (UIViewController *)viewController
placementId: (NSString *)placementId
options: (UADSShowOptions *)options
```                                                                                                   | 3.7.0                | 업데이트된 `show` 메서드 서명을 사용합니다.                                                                     | 4.0.0           | `Show` API가 콜백과 함께 제공됩니다.             |
| `getDelegate`                                                                                                                                                                                                                   | 3.4.0                | `Initialize`, `load` 및 `show` 메서드의 델리게이트 인터페이스를 사용합니다.                                          | 4.0.0           | `Load` 및 `Show` 기능에서는 더 이상 필요하지 않습니다. |
| `setDelegate: (id&#x3-c;-unity-ads-delegate>)delegate`                                                                                                                                                                          | 3.4.0                | `Initialize`, `load` 및 `show` 메서드의 델리게이트 인터페이스를 사용합니다.                                          | 4.0.0           | `Load` 및 `Show` 기능에서는 더 이상 필요하지 않습니다. |
| `addDelegate: (__nullable id&#x3-c;-unity-ads-delegate>)delegate`                                                                                                                                                               | 3.7.0                | `Initialize`, `load` 및 `show` 메서드의 델리게이트 인터페이스를 사용합니다.                                          | 4.0.0           | `Load` 및 `Show` 기능에서는 더 이상 필요하지 않습니다. |
| `removeDelegate: (id&#x3-c;-unity-ads-delegate>)delegate;`                                                                                                                                                                      | NA                   | `Initialize`, `load` 및 `show` 메서드의 델리게이트 인터페이스를 사용합니다.                                          | 4.0.0           | Load 및 Show 기능에서는 더 이상 필요하지 않습니다.     |
| `isReady`                                                                                                                                                                                                                       | 3.7.1                | 업데이트된 `load` 메서드 서명을 사용합니다.                                                                     | 4.0.0           | `load` API가 콜백과 함께 제공됩니다.             |
| `isReady: (NSString *)placementId`                                                                                                                                                                                              | 3.7.1                | 업데이트된 `load` 메서드 서명을 사용합니다.                                                                     | 4.0.0           | `load` API가 콜백과 함께 제공됩니다.             |
| `getPlacementState`                                                                                                                                                                                                             | NA                   | 직접 대체하는 항목이 없습니다.                                                                               | 4.0.0           | `Load` 및 `Show` 기능에서는 더 이상 필요하지 않습니다. |
| `getPlacementState: (NSString *)placementId`                                                                                                                                                                                    | NA                   | 직접 대체하는 항목이 없습니다.                                                                               | 4.0.0           | `Load` 및 `Show` 기능에서는 더 이상 필요하지 않습니다. |
| 모든 `monetization` 클래스                                                                                                                                                                                                           | 3.4.0                | `UnityAdvertisement.h` 클래스를 사용합니다.                                                              | 4.0.0           | 레거시 `Monetization` API가 지원되지 않습니다.    |
| 모든 `purchasing` 클래스                                                                                                                                                                                                             | 3.4.0                | 직접 대체하는 항목이 없습니다.                                                                               | 4.0.0           | 레거시 `Monetization` API가 지원되지 않습니다.    |
