更新时间:2022-12-21 13:53:13
不,不能将 Swift 扩展与 Xamarin 应用一起使用 - 这也适用于任何形式的 iOS 扩展.
No, it is not possible to use a Swift extension with a Xamarin app - this also applies to any form of iOS extension.
您需要使用 Xamarin 重做您的扩展.watchOS 的文档可以在这里找到:https://developer.xamarin.com/指南/ios/手表/入门/
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/