DynamicNotchKit
DynamicNotchKit copied to clipboard
Add support for using SwiftUI views as images in the dynamic notch
This PR adds support for using custom views as icons in the dynamic notch info. It tries to keep the current API intact by adding functions and initializers that act as overloads.
init(…) where IconView: Image
func doSomething() where IconView: Image
This works for me locally but it might still some more tweaks, please try it out and verify that something didn't break outside of my environment ❤️
Screengrab
https://github.com/user-attachments/assets/dad0b8d0-89d3-46aa-83d6-c1ae1b838928