flutter_boost icon indicating copy to clipboard operation
flutter_boost copied to clipboard

iOS返回到Flutter端 回传值

Open serge66 opened this issue 7 years ago • 5 comments

请教一下,FLutter界面A 跳转到IOS原生界面B ,当iOS界面B关闭时,怎么给A传参? 用以下方法跳转到B界面:

FlutterBoost.singleton.openPage(ZKStrings.imagePickerPage, {}, animated: true, resultHandler: (String key, Map<dynamic, dynamic> result) {

      });

serge66 avatar Aug 08 '19 08:08 serge66

同问, uid 如何获取的问题, closePage 需要传的uid 如何获取?

colorface avatar Aug 08 '19 15:08 colorface

解决了,有个result_id可以用来传值

| | 李胜杰 邮箱:[email protected] |

签名由 网易邮箱大师 定制

在2019年08月08日 23:32,Roy Cheng 写道:

同问, uid 如何获取的问题, closePage 需要传的uid 如何获取?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

serge66 avatar Aug 08 '19 15:08 serge66

解决了,有个result_id可以用来传值 | | 李胜杰 邮箱:[email protected] | 签名由 网易邮箱大师 定制 在2019年08月08日 23:32,Roy Cheng 写道: 同问, uid 如何获取的问题, closePage 需要传的uid 如何获取? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

需要在A 的上一级 为A 设置 result_id吗?

colorface avatar Aug 08 '19 15:08 colorface

boost在ios 端已经实现了传值result_id,只需要在ios端获取就行,然后调用一下boost提供的方法,在flutter就能得到了,明天写个笔记吧

| | 李胜杰 邮箱:[email protected] |

签名由 网易邮箱大师 定制

在2019年08月08日 23:38,Roy Cheng 写道:

解决了,有个result_id可以用来传值 | | 李胜杰 邮箱:[email protected] | 签名由 网易邮箱大师 定制 在2019年08月08日 23:32,Roy Cheng 写道: 同问, uid 如何获取的问题, closePage 需要传的uid 如何获取? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

需要在A 的上一级 为A 设置 result_id吗?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

serge66 avatar Aug 08 '19 15:08 serge66

大概知道怎么写了,我试试,谢谢

colorface avatar Aug 08 '19 15:08 colorface