Closed MichaelNeas closed 3 years ago
I was using this picker on a swiftui project and was asked to add albums to the picker I noticed issue #268
This PR adds:
In the DropdownPresentationController in swiftUI you can get:
type(of: presentingViewController) > SwiftUI.SheetHostingController
And I'm not sure if we can get the underlying navigation bar height. However, instead of defaulting to .zero respecting safe area insets might be a nicer solution.
.zero
I was using this picker on a swiftui project and was asked to add albums to the picker I noticed issue #268
This PR adds:
In the DropdownPresentationController in swiftUI you can get:
And I'm not sure if we can get the underlying navigation bar height. However, instead of defaulting to
.zero
respecting safe area insets might be a nicer solution.