# iOS에서 인터스티셜 광고 구현

> iOS 앱에서 인터스티셜 광고를 구현합니다. 광고 콘텐츠를 로드하고 Objective-C 또는 Swift 코드를 통해 표시하고 델리게이트를 사용하여 광고 이벤트를 처리합니다.

## 인터스티셜 광고 예시##interstitial-video-ad-example

[`show`](/grow/ads/ios-sdk/ios-api.md#show) 메서드를 사용하여 로드된 광고를 표시하고 [`UnityAdsShowDelegate`](/grow/ads/ios-sdk/ios-api.md#unityadsshowdelegate) 델리게이트를 사용하여 다양한 show 이벤트와 관련된 로직을 처리합니다. 이 예시에서는 버튼으로 광고를 트리거합니다.

1. **Objective-C**

   ```objective-c
   // Implement a button that calls the show method when clicked:
   #pragma mark : Buttons
   - (IBAction)showInterstitialButton:(UIButton *)sender {
     [UnityAds show:self placementId:@"Interstitial_iOS" showDelegate:self];
   }

   // Implement callbacks for events related to the show method:
   #pragma mark: UnityAdsShowDelegate
   - (void)unityAdsShowComplete:(NSString *)placementId withFinishState:(UnityAdsShowCompletionState)state {
     NSLog(@" - UnityAdsShowDelegate unityAdsShowComplete %@ %ld", placementId, state);
   }

   - (void)unityAdsShowFailed:(NSString *)placementId withError:(UnityAdsShowError)error withMessage:(NSString *)message {
     NSLog(@" - UnityAdsShowDelegate unityAdsShowFailed %@ %ld", message, error);
     // Optionally execute additional code, such as attempting to load another ad.
   }

   - (void)unityAdsShowStart:(NSString *)placementId {
     NSLog(@" - UnityAdsShowDelegate unityAdsShowStart %@", placementId);
   }

   - (void)unityAdsShowClick:(NSString *)placementId {
     NSLog(@" - UnityAdsShowDelegate unityAdsShowClick %@", placementId);
   }
   ```

**다음 단계**: 구현 내용을 한 단계 더 발전시키려면 [iOS에서 보상형 광고 구현](/grow/ads/ios-sdk/rewarded-ads.md) 기술 자료를 참조하십시오.
