It is not possible to add or modify layout outside of your app. The possibilities you have are limited to local and push notifications.
These notifications can be set to "alert" by the user, so that they are intrusive. But there is no way to set that by yourself.
You could schedule a local/remote notification as the app enters the background. Maybe even in response to a background fetch or something like that. you cannot present UI to foreground yourself when in the app is in background.
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.