Thanks for the response. Here is my code. It works on iOS 18.3 and even on iOS 18.4 Beta 4
Presenting the tip:
Task { @MainActor in
if await self.histogramTip.shouldDisplay {
let controller = TipUIPopoverViewController(self.histogramTip, sourceItem: self.versionChartView)
self.present(controller, animated: true)
}
}
Definition of the tip:
struct HistogramTip: Tip, Identifiable {
var id: UUID = UUID()
var title: Text {
Text("Firmware Info")
}
var message: Text? {
Text("Tap on any bar to see info about the firmware version")
}
}
I also do this in the AppDelegate:
try? Tips.configure([
.displayFrequency(.immediate)
])