FancyScrollView icon indicating copy to clipboard operation
FancyScrollView copied to clipboard

Possibility to add buttons to the navigation bar

Open CollinAlpert opened this issue 3 years ago • 1 comments

Is it somehow possible to add custom buttons to the navigation bar, like one would normally do with the .navigationBarItems() method? I really love this library but this seems like something that could be very useful.

CollinAlpert avatar Sep 26 '20 17:09 CollinAlpert

Thanks for the interest in the library!

As for this problem: Hmm... It does seem like we could somehow listen to the same events of navigationBarItems and react accordingly. In case we would have to access SwiftUI internals, it might take some hacking.

Another option would be to just recreate the API. Which doesn't seem as nice. But would be simpler.

I'm a bit too busy during the week to take a look at it. I might check during the weekend, but I can't promise anything ;)

nerdsupremacist avatar Sep 28 '20 21:09 nerdsupremacist