嗨,我在我的应用程序上使用微信 sdk 1.1,当我发送打开微信的请求时,它崩溃并显示此错误消息
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIPasteboard setValue:forPasteboardType:]: value is not a valid property list type'
不过,这只发生在 ios6 上。它在 ios5 上运行良好。我的代码是这样的:
SendMessageToWXReq* req = [[SendMessageToWXReq alloc] init];
req.bText = YES;
req.text = @"testing";
[WXApi sendReq:req];