Posts

Post not yet marked as solved
4 Replies
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)
Post not yet marked as solved
4 Replies
Thank you @FrankSchlegel and @melsam , glad to hear that it is on the horizon.