Is it possible to connect Xamarin ios App to swift watchOS Extension

霸气de小男生 提交于 2019-12-02 02:51:14

No, it is not possible to use a Swift extension with a Xamarin app - this also applies to any form of iOS extension.

You will need to redo your extension with Xamarin. Documentation for watchOS can be found here: https://developer.xamarin.com/guides/ios/watch/getting-started/

I think the watch extension needs to be compiled into the the app bundle so I dont think this can be done (compile swift code into c#, i may be wrong). They also need references to each other see here.

Its like saying "I have found some swift code can I just put this into my xamarin app and it will work?"

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!