最近出现如下警告:
Sending ‘PublicLocalViewController *__strong’ to parameter of incompatible type ‘id _Nullable’
发现是将协议 NSURLSessionDelegate 引入写到了.m文件中 ,可能还有的朋友没有引入;
解决警告办法:
@interface PublicLocalViewController : MainViewController<NSURLSessionDelegate>
@end