I create a custom keyboard extension of main app. In the extension, i want to know if the main app is running?
Is there any way to make it work?
I have created the app group, and i share data with the UserDefaults
var share: UserDefaults? = UserDefaults(suiteName: "group.share.keyboard")
But i do not know how to realize if the main app is running, please help me, thank you very much! I have search many ways, but not work