Incompatible block pointer types assigning to 'xxxBlock' (aka 'void (^)(__strong id)...

问题:block的实参与形参理论上类型是一致的,但编译不能过。
解决方法:在编译选项中添加-Xclang -fcompatibility-qualified-id-block-type-checking

你可能感兴趣的:(Incompatible block pointer types assigning to 'xxxBlock' (aka 'void (^)(__strong id)...)