问题描述
我有一个用Swift编写的iOS项目.
I have an iOS project written in Swift.
我想在iOS Native Project中启动Xamarin.Forms视图.如何从iOS Native Project到Xamarin.Forms视图进行双向通信?
I want to launch Xamarin.Forms Views inside iOS Native Project.How to do two way communication from iOS Native Project to Xamarin.Forms view?
有什么办法可以完成这项任务?
is there any way to achieve this task?
例如我可以使用Flutter模块完成此任务.
Ex. I can achieve this task using Flutter Module.
https://github.com/flutter/flutter/wiki/Add-Flutter-to-existing-apps
https://medium.com/flutter-community/add-flutter-to-existing-android-ios-app-ae8c4fb1582e
如何使用Xamarin实现以上目标?
How to achieve above using Xamarin?
推荐答案
您也许可以使用Embeddinator-4000来创建.NET库的本机库. https://github.com/mono/Embeddinator-4000
You maybe can di that with the Embeddinator-4000 that creates native libraries of .NET libraries. https://github.com/mono/Embeddinator-4000
这篇关于如何在现有的iOS或Android项目中使用Xamarin?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!