Anyone integrated lock widget into swiftui?

Hi,

Take a look at the pod I created here.
Based on a previous conversation I created a

  • view that presents the Lock ui in a wrapper
  • takes as a parameter a SessionPublisher to remove the need of delegation.

The pod example shows how to integrate it. The logic is pretty much the one you started out with, using the .viewController.

1 Like