Add feature discovery tips, contextual hints, and onboarding coach marks to iOS 17+ apps using Apple's TipKit framework. TipKit manages display frequency, eligibility rules, and persistence so tips appear at the right time and disappear once the user has learned the feature.
Call Tips.configure() once in App.init, before any views render. This initializes the tips datastore and begins rule evaluation. Calling it later risks a race where tip views attempt to display before the datastore is ready.
| .applicationDefault | Default location, app sandbox (most apps) | | .groupContainer(identifier:) | Share tips state across app and extensions | | .url(:) | Custom file URL for full control over storage location |
Implementieren, überprüfen oder verbessern Sie In-App-Tipps und Onboarding mit dem TipKit-Framework von Apple. Verwenden Sie diese Option, wenn Sie Tooltips zur Feature-Erkennung, Onboarding-Flows, Kontexttipps, Erstausführungserfahrungen oder Coach-Noten zu iOS-/macOS-/visionOS-Apps hinzufügen. Wird beim Arbeiten mit Tip-Protokoll, TipView, PopoverTip, Tip-Regeln, Tip-Ereignissen oder der Benutzeroberfläche für die Funktionserziehung ausgelöst. Quelle: dpearson2699/swift-ios-skills.