# iOS SDK 7.0+ 빠른 시작

이 빠르고 간단한 예제를 사용하여 Pushwoosh iOS SDK를 시작하세요.

## iOS SDK 7.0+의 새로운 기능

버전 7.0부터 Pushwoosh iOS SDK는 완전한 모듈식 아키텍처로 재설계되었습니다. SDK는 이제 별도의 모듈로 분리되었습니다. 기본 통합에는 **PushwooshFramework**, **PushwooshCore**, **PushwooshBridge**, **PushwooshLiveActivities**가 필요하며, **PushwooshForegroundPush**, **PushwooshVoIP**, **PushwooshTVOS**는 필요에 따라 선택적으로 추가할 수 있습니다.

이 모듈식 접근 방식을 사용하면 앱에서 실제로 사용하는 기능만 포함할 수 있어 최종 바이너리 크기를 줄이고 빌드 시간을 개선할 수 있습니다. 각 모듈은 독립적으로 업데이트할 수 있으므로 나머지 통합에 영향을 주지 않고 새로운 기능을 더 쉽게 채택할 수 있습니다.

이번 릴리스에서는 더 쉬운 종속성 관리를 위한 네이티브 Swift Package Manager 지원과 모든 모듈에 걸친 향상된 Swift 상호 운용성을 소개합니다. 이제 문서는 바이너리 프레임워크에 직접 내장되어 있어 Xcode의 Quick Help 및 Developer Documentation 창을 통해 API 참조 및 코드 예제에 바로 접근할 수 있습니다. 새로운 기능으로는 Dynamic Island 통합을 포함한 iOS 16+ Live Activities 전체 지원, 애니메이션 배너 및 햅틱 피드백이 포함된 사용자 정의 가능한 포그라운드 푸시 알림, 향상된 VoIP 기능, Apple TV 애플리케이션을 위한 전용 tvOS 모듈 등이 있습니다.

## 전제 조건

Pushwoosh iOS SDK를 앱에 통합하려면 다음이 필요합니다:

<TranslatedFragment id="prerequisites-ios" />

## 예제 프로젝트 다운로드

GitHub에서 예제 프로젝트를 복제합니다:
```bash
git clone https://github.com/Pushwoosh/pushwoosh-ios-sample.git
```

## 프로젝트 구성

<TranslatedFragment id="configure-sample-app-ios" />

## 프로젝트 실행

1. 프로젝트를 빌드하고 실행합니다.
2. 앱에는 'Actions'와 'Settings' 두 개의 탭이 있습니다. **Settings** 탭으로 이동합니다.
3. **Register for Pushes** 버튼을 탭합니다.
4. 푸시 알림 권한을 부여합니다. 기기가 Pushwoosh에 등록됩니다.

다음과 같은 로그 항목이 표시되어야 합니다:
```bash
Pushwoosh: Initializing application runtime
[PW] BUNDLE ID: __YOUR_BUNDLE_ID__
[PW] APP CODE: __YOUR_APP_CODE__
[PW] PUSHWOOSH SDK VERSION: 7.0.0
[PW] HWID: __YOUR_HWID__
[PW] PUSH TOKEN: (null)
[PW] [I] -[PWNotificationManagerCompatiOS10] NotificationCenter authorization granted: 1
[PW] [I] -[PWPushNotificationsManagerCommon] Registered for push notifications: __YOUR_PUSH_TOKEN__
```
이제 기기가 Pushwoosh에 등록되었습니다.

## 푸시 알림 보내기

Pushwoosh Control Panel로 돌아가 등록된 기기로 [푸시 알림을 보냅니다](/ko/product/messaging-channels/push-notifications/send-push-notifications/one-time-push).


## SDK 6.x에서 마이그레이션하기

SDK 버전 6.x에서 업그레이드하는 경우, 주요 변경 사항은 Pushwoosh 인스턴스에 접근하는 방법입니다. 버전 7.0+에서는 `Pushwoosh.sharedInstance()` 대신 `Pushwoosh.configure`를 사용합니다:

**이전 (6.x):**
```swift
Pushwoosh.sharedInstance().registerForPushNotifications()
Pushwoosh.sharedInstance().delegate = self
```

**이후 (7.0+):**
```swift
Pushwoosh.configure.registerForPushNotifications()
Pushwoosh.configure.delegate = self
```

다른 모든 API는 동일하게 유지되므로, 코드를 업데이트하려면 프로젝트 전체에서 `sharedInstance()`를 `configure`로 바꾸기만 하면 됩니다.

## 다음 단계
더 자세히 알아보려면 [기본 통합 가이드](/ko/developer/pushwoosh-sdk/ios-sdk/setting-up-pushwoosh-ios-sdk-7-0/basic-integration-guide/)를 참조하세요.