0
在尝试升级到Urban Airship 8.0.1时,方法appReceivedRemoteNotification
不再可用。替换为UAPush方法appReceivedRemoteNotification?
MyClass.swift:55:23: Value of type 'UAPush' has no member 'appReceivedRemoteNotification'
UrbanAirship Library 7.3.0 to 8.0.0 docs不提及该方法。
在iOS Changelog中都没有提及。
什么是appReceivedRemoteNotification
的替代方案,可以实现迁移到8.0.1?
该方法在迁移指南中提到,但仅限于它在5.0.0中添加。不幸的是,提供的appledocs链接给出了一个404。 虽然这对替换方法很有用。谢谢。 问题的一部分是我们正在从这样一个旧版本升级。没人是我们自己的错。 顺便说一句,你可以就UATagType的替换建议我吗? –
修复了appledoc链接。我不小心加了一段时间。让我回到你的UATagType。 – ralepinski
UATagType已被删除,因为这些标记现在已为http://docs.urbanairship.com/reference/device-property-tags.html的所有设备自动生成。 如果你还没有准备好从UATagType继续,你可以恢复utils类 - https://github.com/urbanairship/ios-library-dev/blob/6.4.0/Airship/Common/UATagUtils.m在你的应用程序中复制它。 – ralepinski