Я получаю приведенную ниже ошибку в ios26 < /p>
Неоцененный тип параметра Это ошибка в языковом режиме Swift 6 < /p>
в приведенном ниже коде для добавления сообщений Firebase в мое приложение. Код сработал без ошибок до iOS 26. Может ли кто -нибудь помочь с тем, как избавиться от этой ошибки? < /P>
func application(_ application: UIApplication,
didReceiveRemoteNotification userInfo: [AnyHashable: Any]) async
-> UIBackgroundFetchResult {
// If you are receiving a notification message while your app is in the background,
// this callback will not be fired till the user taps on the notification launching the application.
// TODO: Handle data of notification
// With swizzling disabled you must let Messaging know about the message, for Analytics
// Print message ID.
if let messageID = userInfo[gcmMessageIDKey] {
print("Message ID: \(messageID)")
}
Подробнее здесь: https://stackoverflow.com/questions/797 ... -messaging
Swift 6 отправленная ошибка в обмене сообщениями Firebase ⇐ IOS
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение