Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
95 views
in Technique[技术] by (71.8m points)

ios - How to Callback from Swift Framework to Flutter project?

I have the framework written in Swift 5 language and now i need to integrate that framework into the new flutter project and there is more number of callbacks to notify from Swift Framework to Flutter project. In that I don't know how to do that, what is the way to callback/delegate to the flutter project from Swift Framework.

question from:https://stackoverflow.com/questions/65888517/how-to-callback-from-swift-framework-to-flutter-project

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Try to use Method channels. You can call Flutter methods from Swift code and vise versa.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...