[UIView recursiveEnumerateSubviewsUsingBlock:]: unrecognized selector sent to instance

今天在工程里面添加第三方库的时候,出现了[UIView recursiveEnumerateSubviewsUsingBlock:]: unrecognized selector sent to instance 错误

解决方案:

targets-->Build Setting-->Other Linker Flags 添加-ObjC,如图:


你可能感兴趣的:([UIView recursiveEnumerateSubviewsUsingBlock:]: unrecognized selector sent to instance)