If I have some tips in an onboarding flow and want to allow my user to restart the onboarding experience, how can I reset specific tips? I know there is Tips.resetDatastore()
but I may not want to reset every tip, just some subset of them.
Reset specific tip
I think there is no official API to reset single tips.
As a workaround, you could change the id
of the tip. This will cause TipKit to handle it as a new tip and show it again.
@cab3272 You should consider overriding Tips.IgnoresDisplayFrequency for the Individual tips and define the rule that determines when your tips display. Keep in mind that when you override Tips.IgnoresDisplayFrequency on a specific tip, previously displayed tips will still appear if their display rules are satisfied.