Invalidate a tip in a TipGroup
A Tip in TipKit can be invalidated to not appear more with the func invalidate(reason: Self.InvalidationReason)
. This can be used after an user does something or a value under observation is changed.
popoverTip background color
I am trying to change the background color of a SwiftUI popover tip to always be white. Currently, when we switch between light and dark mode, the background of the popoverTip changes color. I want it to remain white all the time.
SwiftUI TipKit show Tip at unexpected times
I’m trying to use iOS17’s TipKit to show some onboarding tips to the user across various screens. The problem I’m facing is at times the Tips are not shown when they are ready to be shown and gets shown at incorrect times. For example, below is a code example and screen shots of a Tip I’m showing from toolbar buttons for a view that shows grid of items. When it works it shows correctly, but some other times, the tip is not shown at all but it gets shown when user goes to the next screen where the tip is not even valid.
I’m confused if the TipKit at this stage is glitchy like this or if there is something I’m missing from implementation?