I have a Safari App Extension that injects a button over images into a specific website and when tapping that button I want to trigger a function with some parameters in the application that contains the safari app extension (NOT from .js to extension handler)
How can I communicate from the Safari App Extension with the main app in real time? NSUserDefaults
trough app groups does not seems a good idea