<navigator target="miniProgram" open-type="exit">
<button bindtap="outpop" type="default" open-type="launchApp" binderror="launchAppError" app-parameter="返回数据">返回APP</button>
</navigator>
ps:iOS如果只使用button的open-type="launchApp" 可以返回APP
如上方法在Android上能够实现关闭小程序并返回跳转过来的APP,但是iOS中只能关闭小程序不能返回跳转过来的APP。有什么解决方案可以实现在iOS中可以关闭小程序并返回跳转过来的APP吗?

直接放button返回APP,然后调用api去退出小程序,wx.exitMiniProgram
<button bindtap="outpop" type="default" open-type="launchApp" binderror="launchAppError" app-parameter="返回数据">返回APP</button>outpop() {wx.exitMiniProgram({success: function () {console.log("退出成功!");},})},err: {errMsg: "exitMiniProgram:fail can only be invoked by user TAP gesture."}
outpop() {// console.log("=-=-=-=-", this.data.isShow);setTimeout(()=>{wx.exitMiniProgram({success: function () {console.log("退出成功!");},fail:(err)=>{console.log("err:",err);}})},1000)},