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 |
Implementa, rivedi o migliora i suggerimenti in-app e l'onboarding utilizzando il framework TipKit di Apple. Da utilizzare quando si aggiungono descrizioni comandi per l'individuazione delle funzionalità, flussi di onboarding, suggerimenti contestuali, esperienze di prima esecuzione o suggerimenti di coach alle app iOS/macOS/visionOS. Attivazione quando si lavora con protocollo Tip, TipView, popoverTip, regole tip, eventi tip o interfaccia utente didattica sulle funzionalità. Fonte: dpearson2699/swift-ios-skills.