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 | 29 | 30 | 31 |
Tags
- error
- 한글
- appstore
- Xcode
- Notification
- rxswift
- 웹뷰
- github
- Archive
- Swift
- stack
- Session
- Firebase
- MacOS
- JPA
- Git
- mac
- Code
- view
- UIButton
- iOS16
- 개발자
- IOS
- SwiftUI
- FLUTTER
- Python
- Realm
- window
- Apple
- darkmode
Archives
- Today
- Total
목록4805 (1)
EEYatHo 앱 깎는 이야기
Swift ) com.apple.CoreHaptics Code=-4805 - EEYatHo iOS
HapticEngine 으로 진동을 구현했었다. 구현 포스팅 그런데 백그라운드로 갔다가 포그라운드로 돌아온 후, 진동을 켜면 com.apple.CoreHaptics Code=-4805 에러가 발생했다. CHHapticError 정의 를 보니, 엔진이 켜져있지 않다고 한다. Solution HapticEngine 은 앱이 백그라운드 상태로 가면 꺼진다. 따라서 포그라운드 진입시, HapticEngine 을 다시 start 시켜 해결했다. /// in AppDelegate override func applicationWillEnterForeground(_ application: UIApplication) { do { try VibrationManager.shared?.hapticEngine.start() }..
iOS, Swift/Tip, Bug, Swift Error
2022. 10. 28. 16:11