I already have a WatchOSExtension developed under swift, is it possible to connect it to a newely developed xamarin ios project?
相关问题
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- State preservation and restoration strategies with
- “Zero out” sensitive String data in Swift
- Get the NSRange for the visible text after scroll
相关文章
- 现在使用swift开发ios应用好还是swift?
- UITableView dragging distance with UIRefreshContro
- TCC __TCCAccessRequest_block_invoke
- Where does a host app handle NSExtensionContext#co
- Swift - hide pickerView after value selected
- How do you detect key up / key down events from a
- didBeginContact:(SKPhysicsContact *)contact not in
- Attempt to present UIAlertController on View Contr
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?"