Whereas utilizing TipKit’s TipGroup I encountered what I consider to be a bug:
The second tip of the TipGroup is offered as a sheet.
I’ve watch the 2 WWDC periods about TipKit and the implementation seems good.
Has anybody bought this problem too ? And located an answer ?
You possibly can reproduce it when operating on iOS 18 with the code beneath. I’ve the difficulty on simulator utilizing iOS 18.6 and on a tool utilizing the newest iOS 18.7.1, however to this point I can not reproduce on iOS 26.
import SwiftUI
import TipKit
@fundamental
struct MyApp: App {
var physique: some Scene {
WindowGroup {
TipKitTestView()
.activity {
attempt? Ideas.resetDatastore()
attempt? Ideas.configure()
}
}
}
}
struct TipKitTestView: View {
@State
var suggestions = TipGroup {
Tip1()
Tip2()
}
var physique: some View {
HStack {
Textual content("Whats up")
.popoverTip(suggestions.currentTip as? Tip1)
Textual content("World")
.popoverTip(suggestions.currentTip as? Tip2)
}
}
}
struct Tip1: Tip {
var title: Textual content {
Textual content("tip #1")
}
var message: Textual content? {
Textual content("quick message contained in the tip")
}
var picture: Picture? {
Picture(systemName: "eye")
}
}
struct Tip2: Tip {
var title: Textual content {
Textual content("tip #2")
}
var message: Textual content? {
Textual content("quick message contained in the tip")
}
var picture: Picture? {
Picture(systemName: "trash")
}
}


