简体   繁体   中英

How to run a function when notification fires and app isn't running

当本地通知触发且应用程序未运行或在后台运行时,如何运行或执行方法?

本地通知不会触发后台执行,只有远程通知会触发后台执行(在正确设置时)。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM