-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Ok, I think I can achieve it by hard removing safe area paddings, but it's kinda ugly. |
Beta Was this translation helpful? Give feedback.
-
Hello, The extension view is of type
In UIKit/LNPopupController, if you disable With SwiftUI/LNPopupUI, this is … complicated. In general, SwiftUI has a very difficult time with safe area management, and so, the framework, for custom popup bar SwiftUI views, disables safe area management, with the assumption that the content will always be above the safe area, inside the popup bar view. Before attempting an adventure, especially in SwiftUI, I recommend trying to work within the confinements of the framework. The popup bar extension view inherits the popup bar appearance. Unless you need something very special, you can just set the popup bar appearance (using |
Beta Was this translation helpful? Give feedback.
Hello,
popupBarShouldExtendPopupBarUnderSafeArea
controls whether the frameworks installs a view under the safe area:The extension view is of type
_LNPopupBarExtensionView
._LNPopupBottomBarSupport
is used for non-navigation and non-tab bar controllers, as the default bottom docking view (to which the popup bar is attached to).In UIKit/LNPopupController, if you disable
popupBarShouldExtendPopupBarUnderSafeArea
, you should have a visible space at the bottom, and if your custom popup bar view controller’s view extends under the bounds of the popup bar, it should fill that space. You might need to set a fewclipsToBounds = false
if the framework doesn’t do that for you.With SwiftUI/LNPo…