iOSTORY

  • 홈
  • 태그
  • 방명록

iOS13 2

[iOS] iOS13 앱 푸시 장치 토큰(deviceToken) 관련 이슈

안녕하세요. 이번 글에서는 iOS13 환경에서 deviceToken을 가져올 때 달라진 점에 대해서 공유하려고 합니다. 달라진 점 iOS12 환경에서는 deviceToken을 가져오는 메소드에서 deviceToken 파라미터 데이터 형식은 iOS13 환경에서는 {length=32,bytes=0x91e27cd9ddf20c69da8fa650e2a06f55...e60b100d99d60adf} 로 변경되었습니다. 대응 iOS12 환경에서 deviceToken 데이터를 String으로 아래의 방법으로 가공하였다면, func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Dat..

iOS Trouble Shooting 2020.01.05

[iOS] iOS13 StatusBar Crash 이슈

안녕하세요. 이번 글에서는 iOS에서 상태바 컬러를 변경하기 위해 StatusBar를 가져오는 코드가 iOS13에서는 가져올 수 없는 이슈가 있어 현재까지 찾은 방법을 공유하려고 합니다. 이슈 저는 현재 이 코드를 이용해서 StatusBar를 가져오고 있었는데 UIApplication.shared.value(forKey: "statusBar") as? UIView Xcode11 GM Seed 2, iOS 13 환경에서 빌드하면 아래 로그가 찍히며 Crash가 발생합니다. Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'App called -statusBar or -statusBarWindow on ..

iOS Trouble Shooting 2020.01.05
이전
1
다음
더보기
프로필사진

iOSTORY

iOS 개발에 필요한 기술들을 학습하고 정리하는 공간입니다.

  • 분류 전체보기 (57)
    • iOS (24)
    • Swift (19)
    • RxSwift (5)
    • iOS Trouble Shooting (3)
    • Github (1)
    • Common (5)

Tag

struct, Foundation, podfile.lock, RxSwift, iOS13, SWIFT, Bounds, Frame, extension, Create Operator, ios, thread, Notification, github, 옵저버, UnitTest, Podfile, Xcode, Framework, search_paths,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/07   »
일 월 화 수 목 금 토
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

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바