Multiple methods named 'count:' found with mismatched result, parameter type or attributes

编译器无法识别数据类型从而报错

解决办法类似于:[(NSDictionary *)[self.titles[section] allValues].firstObject count] 指定数据类型,再编译即可。

发布了131 篇原创文章 · 获赞 9 · 访问量 7万+

猜你喜欢

转载自blog.csdn.net/Morris_/article/details/103260927