Order the steps
Order the steps to run a server-driven Live Activity.
- End the activity with a final state and dismissal policy
- Define ActivityAttributes with a ContentState
- Start it with Activity.request(…, pushType: .token)
- Send the activity's push token to your server
- The server sends liveactivity pushes with new content state
Hint 1 of 1
Define it, start it, then update it.
Choose an answer, then open Show answer below to check it.
Show answer
Answer: B C D E A
- Define ActivityAttributes with a ContentState This describes fixed and changing data.
- Start it with Activity.request(…, pushType: .token) Asking for a push token enables remote updates.
- Send the activity's push token to your server The server addresses updates with it.
- The server sends liveactivity pushes with new content state APNs delivers updates to the activity.
- End the activity with a final state and dismissal policy Finished activities shouldn't linger.