无论如何在收到 Firebase 通知时更新 UI

Is there anyway to Update UI when receiving Firebase notification

我想在发送 Firebase 推送通知以重新加载 Tableview 内容时向 UIViewController 发送事件以更新数据

我已经设置了整个配置并收到了通知

如有任何想法或教程,我们将不胜感激

请参考这篇link. You will get a notification in didreceivenotification method for more info please refer this link。在 didreceivenotification 方法中收到通知后,您可以从导航堆栈中获取视图控制器,或者您也可以在该控制器中设置通知观察器,并从 didreceivenotification 中设置 post 通知。