本文永久地址为http://www.cnblogs.com/ChenYilong/p/4052362.html ,转载请注明出处。

iOS开发关于Block代码错误

Incompatible block pointer types sending 'void (^)([ClassNameA]] *__strong)' to parameter of type '[BlockName]' (aka 'void (^)([ClassNameB]] *__strong)') 

典型传参错误,[BlockName]应该传参[ClassNameB]但是你传参传入了[BlockNameA]

 

本文永久地址为http://www.cnblogs.com/ChenYilong/p/4052362.html ,转载请注明出处。

相关文章:

  • 2021-11-17
  • 2022-03-09
  • 2021-06-29
  • 2021-10-15
  • 2022-01-09
  • 2021-10-10
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-05
  • 2021-10-17
  • 2021-08-02
  • 2022-01-14
  • 2022-01-17
  • 2021-04-25
相关资源
相似解决方案