일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
- error
- list
- mvvm
- SWIFTUI
- Animation
- class
- SWIFT
- singleton
- IOS
- Observer
- self
- escaping
- PushNotification
- apns
- calendar
- http
- struct
- Switch
- ScrollView
- protocol
- 글또
- NotificationCenter
- Refresh
- uikit
- segue
- 화면전환
- array
- Git
- 고차함수
- viewlifecycle
- Today
- Total
목록PushNotification (2)
seong_hye, the developer

📘 APNsApple Push Notification service의 약자iOS, macOS, watchOS, tvOS 앱에 **푸시 알림(Push Notification)**을 전송할 수 있도록Apple이 제공하는 공식 알림 전송 서비스 APNs = Apple 기기에 원격 푸시 알림을 전달하는 중앙 서버 시스템🔹 APNs의 역할"end-to-end"데이터를 송신자(앱 서버)에서 시작하여 수신자(사용자 디바이스)까지 안전하게 전달하는 전체 과정앱 서버가 보낸 메시지를 iPhone, iPad, Mac 등에 안정적이고 보안적으로 전달하는 중간 다리 역할🔹 APNs이 필요한 이유역할설명메시지 전달앱 서버가 직접 디바이스와 통신하지 않고 APNs를 통해 전달보안 유지토큰 기반 인증 및 암호화앱 상태에 상관..
notification은 쉽게 말하면 앱에서 오는 알림이다iOS에서는 크게 두 가지로 나뉘어 진다- NotificationCenter : 앱 내부에서 메시지를 주고 받는 방법- Push Notification : 외부 서버에서 사용자 기기로 보내는 알림 이 내용에 대해 자세히 알아보자 📘 NotificationCenter앱 내부에서 이벤트를 전달하는 "게시 - 구독(Pub - Sub)" 방식의 메시지 시스템 🔹 사용 예시✅ 알림 보내기 (Post)NotificationCenter.default.post(name: .testNotification, object: nil) ✅ 알림 수신 (Add Observer)NotificationCenter.default.addObserver(forName: .tes..