Post not yet marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
contentPostList.repliesup-voted.tooltip
Replied In
Custom styles for popovertips
For anyone facing the same problem, I noticed that this was only a problem in SwiftUI. If we present the PopoverTip using TipUIPopoverViewController in UIKit and change the viewStyle, it works as expected. However to change the whole popover background color, including the arrow. you have to change the popoverPresentationControllers backgroundColor. We mix UIKit and SwiftUI in our project so this should be fine in our case.
For example:
let controller = TipUIPopoverViewController(myCustomTip, sourceItem: myNewFeatureButton)
controller.viewStyle = MyCustomTipStyle()
controller.popoverPresentationController?.backgroundColor = .red
present(controller, animated: true)