mikaoj / BSImagePicker

A multiple image picker for iOS
MIT License
1.35k stars 380 forks source link

Configurable album overlay background and default starting point for album overlay proposal #314

Closed MichaelNeas closed 3 years ago

MichaelNeas commented 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.