Is there a way to get the instance of extension delegate on watchOS? For example, can I get its instance from an interface controller or other code in the watch extension?
[WKExtension sharedExtension].delegate
In Swift:
let watchDelegate = WKExtension.shared().delegate as? ExtensionDelegate
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With