注册
[WXApi registerApp:@"wxID"];
跳转小程序
WXLaunchMiniProgramReq *launchMiniProgramReq = [WXLaunchMiniProgramReq object];
launchMiniProgramReq.userName= 小程序ID;
launchMiniProgramReq.path= 小程序页面路径;
launchMiniProgramReq.miniProgramType= 1;//拉起小程序的类型
[WXApisendReq:launchMiniProgramReq];
网友评论