-
|
Hi @LeoNatan, var body: some View {
content()
.popup(isBarPresented: $isPopupPresented, isPopupOpen: $isPopupOpen) {
someView
}
.popupBarBackgroundEffect(nil)
.popupBarFloatingBackgroundEffect(nil)
.popupBarStyle(.custom)
.popupBarCustomView(
wantsDefaultTapGesture: true,
wantsDefaultPanGesture: true,
wantsDefaultHighlightGesture: true
) {
costumeBar
}
.popupBarCustomizer { popupBar in
popupBar.inheritsAppearanceFromDockingView = false
popupBar.backgroundColor = nil // ✅ This removed the background
// ❌ But the separator/divider line is still visible
}
.onAppear {
DispatchQueue.main.asyncAfter(deadline: .now() + 1) {
isPopupPresented = true
}
}
}Question: Screenshot:
This is code for iOS 18 in 26 its look great Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
I think setting this to a clear color in https://developer.apple.com/documentation/uikit/uibarappearance/shadowcolor?language=objc |
Beta Was this translation helpful? Give feedback.

I think setting this to a clear color in
LNPopupBarAppearancewill do the trick:https://developer.apple.com/documentation/uikit/uibarappearance/shadowcolor?language=objc