1.加入微信頭文件
#import "WXApi.h"
2.獲取公眾號(hào)原始ID
3.代碼
JumpToBizProfileReq *req = [JumpToBizProfileReq new];
req.username = @"gh_xxxxxxx"; // 原始ID
req.profileType = WXBizProfileType_Normal;//這里還可以選擇硬件公眾號(hào)
req.extMsg = @"";//選擇硬件公眾號(hào),這里加入綁定設(shè)備的鏈接
[WXApi sendReq:req];