我找不到任何关于如何处理这个问题的文档,我使用firebase消息发送了一个推送通知,包含数据负载、标题和消息。通知很好地通过了,但是从后台打开应用程序并没有触发任何特定的选项:
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { FirebaseApp.configure();
// Override point for customization after application launch.
return true
}
函数似乎未被调用。
1条答案
按热度按时间8yoxcaq71#
这是按下推送通知时调用的函数