Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
Tags
- 웹뷰
- 개발자
- Code
- appstore
- 한글
- github
- error
- Xcode
- 이미지
- UIButton
- 맥
- geofencing
- FLUTTER
- Apple
- shorebird
- window
- Git
- Archive
- mac
- darkmode
- Firebase
- Realm
- iOS16
- rxswift
- SwiftUI
- Session
- JPA
- MacOS
- IOS
- Swift
Archives
- Today
- Total
목록interruptionNotification (1)
EEYatHo 앱 깎는 이야기
Swift ) 전화, 이어폰 감지 ( AVAudioSession ) - EEYatHo iOS
전화온거 감지. ( 인터럽트 발생 및 감지 ) 1. import import AVFoundation 2. 노티 옵저버 추가 ( AVAudioSession.interruptionNotification ) NotificationCenter.default.addObserver(self, selector: #selector(handleInterruptionOccured(notification:)), name: AVAudioSession.interruptionNotification, object: AVAudioSession.sharedInstance()) 3. 처리 로직 @objc private func handleInterruptionOccured(notification: Notification) { let i..
iOS, Swift
2021. 8. 24. 14:27