Just to update everyone who might come across this, iOS 17 beta seems to solve this issue now but still an issue with iOS 16.
Post
Replies
Boosts
Views
Activity
hello! thank you for your reply!
the implementation is very simple,
this is my tip object
struct FavoriteCarTip: Tip {
var title: Text {
Text("Favorite This Car")
}
var message: Text? {
Text("Favorite this car to receive status updates and more!")
}
var image: Image? {
Image(systemName: "heart.fill")
}
var options: [TipOption] {
[Tip.MaxDisplayCount(1)]
}
}
and this is how I'm presenting it
let tip = FavoriteCarTip()
let controller = TipUIPopoverViewController(tip, sourceItem: sourceView)
self.present(controller, animated: true)
basically now the only way to remove the tip is by tapping outside of it, and while its not ideal it still works. I was wondering if there are any delegate calls or other ways to wire that close button?
Thank you!