iOS app跳转微信小程序
2019-07-04 本文已影响0人
尕歪Tia
WXLaunchMiniProgramReq *launchMiniProgramReq = [WXLaunchMiniProgramReq object];
launchMiniProgramReq.userName = appId; //拉起的小程序的username,appid为gh_开头的,非wx开头的
// launchMiniProgramReq.path = path; //拉起小程序页面的可带参路径,不填默认拉起小程序首页
launchMiniProgramReq.miniProgramType = WXMiniProgramTypeRelease; //拉起小程序的类型
[WXApi sendReq:launchMiniProgramReq];