Closed lmick002 closed 2 years ago
Hello, I need more information. What view are you presenting the popup on? If a tab view or a navigation view (with a toolbar), the bar inherits appearance from the bottom view. You need to disable that, then change the appearance of the popup.
Check out the customization in the example project.
Here's a screen capture of the simulator. Its the gray (I believe blureffects view) that shows on drag. https://user-images.githubusercontent.com/11696955/132367707-3cbd863d-34cd-4f86-92c8-a567abbe2928.mp4
You can try something like the following:
.popupBarInheritsAppearanceFromDockingView(false)
.popupBarCustomizer { popupBar in
popupBar.standardAppearance.configureWithOpaqueBackground()
popupBar.standardAppearance.backgroundColor = .white
}
Worked perfect - Thanks!
Hey. Thanks for the great swift UI package! Ive been trying to update the background color of the now playing bar, it seems to only show gray behind a custom not playing bar. I've used
.popupBarBackgroundEffect(nil) .popupBarBackgroundStyle(nil)
But neither have changed the background color (Ideally to clear)
Thanks!