objc_msgSend报错"Too many arguments to function call ,expected 0,have 3"

解决方法

Build Setting--> Apple LLVM 8.0 - Preprocessing--> Enable Strict Checking of objc_msgSend Calls 改为 NO

文档说明

ENABLE_STRICT_OBJC_MSGSEND:Controls whether objc_msgSend calls must be cast to the appropriate function pointer type before being called.

你可能感兴趣的:(objc_msgSend报错"Too many arguments to function call ,expected 0,have 3")