# プッシュ通知 (iOS) > APNs、UNUserNotificationCenter、リモート通知、ローカル通知、リッチコンテンツ - 18 面接問題 - Mid-Level - [面接問題: iOS](https://sharpskill.dev/ja/technologies/ios/interview-questions.md) ## 1. UNUserNotificationCenter とは何ですか? **回答** UNUserNotificationCenter は、iOS 10 以降ですべてのローカル通知とリモート通知を管理する中心的なクラスです。非推奨の UILocalNotification API を置き換え、権限のリクエスト、通知のスケジューリング、ユーザー操作の処理のための統一されたインターフェースを提供します。UNUserNotificationCenter の使用は、モダンで互換性のある通知戦略を実装するために不可欠です。 ## 2. 最初のリクエスト時に利用できる2種類の通知認可とは何ですか? **回答** iOS は2つの認可モードを提供します。仮認可(provisional)はアラートを表示せずに通知を通知履歴に直接送信できるのに対し、完全認可(full)はユーザーへの明示的な権限リクエストをトリガーします。仮認可の使用は、煩わしい権限をリクエストする前にエンゲージメントをテストするのに役立ちます。選択はアプリケーションの戦略に依存します。 ## 3. ローカル通知とリモート通知の主な違いは何ですか? **回答** ローカル通知はアプリケーション自体によってスケジュールされ、ローカルシステムによって配信されます。一方、リモート通知(push)はサーバーから APNs 経由で送信され、ネットワーク接続に依存します。ローカル通知は接続がなくても常に機能します。内部のリマインダーにはローカル通知を、サーバー・クライアント間の通信にはリモート通知を使用します。 ## さらに15問利用可能 - APNs からリモート通知を受信するためにアプリケーションを登録するにはどうすればよいですか? - UNNotificationContent の主要なコンポーネントは何ですか? 無料で登録: https://sharpskill.dev/ja/login ## その他のiOS面接トピック - [Swift の基礎](https://sharpskill.dev/ja/technologies/ios/interview-questions/swift-basics.md): 25問, Junior - [Swift言語の基礎](https://sharpskill.dev/ja/technologies/ios/interview-questions/swift-language-essentials.md): 15問, Junior - [UIKit の基礎](https://sharpskill.dev/ja/technologies/ios/interview-questions/uikit-fundamentals.md): 18問, Junior - [UIViewControllerのライフサイクル](https://sharpskill.dev/ja/technologies/ios/interview-questions/uiviewcontroller-lifecycle.md): 20問, Junior - [UserDefaults & Keychain](https://sharpskill.dev/ja/technologies/ios/interview-questions/userdefaults-keychain.md): 20問, Junior - [アプリケーションのライフサイクル](https://sharpskill.dev/ja/technologies/ios/interview-questions/app-lifecycle.md): 20問, Junior - [Auto Layout & Constraints](https://sharpskill.dev/ja/technologies/ios/interview-questions/auto-layout-constraints.md): 24問, Mid-Level - [UITableView & UICollectionView](https://sharpskill.dev/ja/technologies/ios/interview-questions/uitableview-uicollectionview.md): 25問, Mid-Level - [SwiftUIの基礎](https://sharpskill.dev/ja/technologies/ios/interview-questions/swiftui-basics.md): 18問, Mid-Level - [SwiftUI の状態管理](https://sharpskill.dev/ja/technologies/ios/interview-questions/swiftui-state-management.md): 22問, Mid-Level - [SwiftUI ナビゲーション](https://sharpskill.dev/ja/technologies/ios/interview-questions/swiftui-navigation.md): 18問, Mid-Level - [Networking & URLSession](https://sharpskill.dev/ja/technologies/ios/interview-questions/networking-urlsession.md): 20問, Mid-Level - [Codable と JSON パース](https://sharpskill.dev/ja/technologies/ios/interview-questions/codable-json-parsing.md): 20問, Mid-Level - [Core Data](https://sharpskill.dev/ja/technologies/ios/interview-questions/core-data.md): 22問, Mid-Level - [プロトコル指向プログラミング](https://sharpskill.dev/ja/technologies/ios/interview-questions/protocol-oriented-programming.md): 20問, Mid-Level - [MVVMアーキテクチャ](https://sharpskill.dev/ja/technologies/ios/interview-questions/mvvm-architecture.md): 20問, Mid-Level - [ユニットテストとXCTest](https://sharpskill.dev/ja/technologies/ios/interview-questions/unit-testing-xctest.md): 20問, Mid-Level - [UIテスト](https://sharpskill.dev/ja/technologies/ios/interview-questions/ui-testing.md): 18問, Mid-Level - [Xcode とビルドシステム](https://sharpskill.dev/ja/technologies/ios/interview-questions/xcode-build-system.md): 16問, Mid-Level - [Swift Package Manager](https://sharpskill.dev/ja/technologies/ios/interview-questions/swift-package-manager.md): 16問, Mid-Level - [Memory Management & ARC](https://sharpskill.dev/ja/technologies/ios/interview-questions/memory-management-arc.md): 22問, Senior - [Combine Framework](https://sharpskill.dev/ja/technologies/ios/interview-questions/combine-framework.md): 24問, Senior - [Concurrency & async/await](https://sharpskill.dev/ja/technologies/ios/interview-questions/concurrency-async-await.md): 26問, Senior - [iOS Design Patterns](https://sharpskill.dev/ja/technologies/ios/interview-questions/ios-design-patterns.md): 24問, Senior - [パフォーマンス最適化](https://sharpskill.dev/ja/technologies/ios/interview-questions/performance-optimization.md): 22問, Senior - [セキュリティと暗号化](https://sharpskill.dev/ja/technologies/ios/interview-questions/security-encryption.md): 20問, Senior - [SwiftUI Advanced](https://sharpskill.dev/ja/technologies/ios/interview-questions/swiftui-advanced.md): 22問, Senior - [iOSアプリケーションアーキテクチャ](https://sharpskill.dev/ja/technologies/ios/interview-questions/ios-app-architecture.md): 22問, Senior --- Source: SharpSkill (https://sharpskill.dev), tech interview preparation for your real stack. HTML version of this page: https://sharpskill.dev/ja/technologies/ios/interview-questions/push-notifications