[Error] You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
2021. 7. 23. 14:53ㆍ개발자료/iOS
반응형
info.plist 에 UIBackgroundModes, remote-notification 항목을 추가한다.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>UIBackgroundModes</key>
<array>
<string>remote-notification</string>
</array>
또는 아래와 같이 Remote notifications 를 체크한다.
반응형
'개발자료 > iOS' 카테고리의 다른 글
[IB] 비율에 맞추기 (0) | 2021.09.29 |
---|---|
CallStack 정보 출력 (0) | 2021.08.09 |
AppStore 수출 규정 참고 자료 (0) | 2021.07.21 |
NSNotification (0) | 2021.05.31 |
NSArray - indexOfObject, indexOfObjectIdenticalTo (0) | 2021.05.21 |