We have a UNUserNotification that is scheduled for a certain date. The content of this notification might be subject to change as we get closer to its delivery. My preferred way to do this is to offload the logic for ‘rendering’ the notification to a push provider. At that point your app doesn’t need to resume in the background and update the notification; rather, the push provider just sends the right push notification at the right time.If you can’t do that, refreshing the notification on the client is going to be problematic. BGAppRefreshTask is the right option for this but most developers who try to use this tech (which is equivalent to the old ‘background fetch’ mechanism) are disappointed with how infrequently it resumes their app. Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic:
App & System Services
SubTopic:
Core OS
Tags: