Since beta 4, Using TipKit causes the app to crash. This was not the case in Beta 3. My app uses UIKit
iOS 18.4 beta 4 tipkit crash
Might be your code. Show us the code that's crashing and we'll see if we can help.
If you think it's definitely a bug, then you should raise it in the normal way at https://feedbackassistant.apple.com/
You can post the FB number here if you like.
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)
])