建议更新 RNNeteaseIm.m文件中的UIWebview
Closed this issue · 0 comments
songxiaoliang commented
在SDK中使用了UIWebview, 苹果最新建议使用WKWebview, 届时会对使用UIWebview的情况警告,下架 ,我们目前在全面替换, 建议更新.
代码位置如下:
react-native-netease-im/ios/RNNeteaseIm/RNNeteaseIm/RNNeteaseIm.m: NSString *userAgent = [[[UIWebView alloc] init] stringByEvaluatingJavaScriptFromString:@"navigator.userAgent"];