在分享的URL中如果帶有中文或者其他無法識別的字符的時候要進行編碼,編碼后的URL就可以識別了
正確的做法:
NSString * str_share_url=@"http://121.43.121.8:8080/tj/photo/findPhotoInfo?我的信息?m={"photoId":"15080604463114388507912341971172"}? ";
//對url字符串中的特殊字符及中文進行編碼
NSString *new_url=[strURl stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]
//設置qq空間的鏈接
[UMSocialData defaultData].extConfig.qzoneData.url =new_url;