在*.m文件中,编写一个方法,出现了 use of undeclared identifier 'xxxx方法名'。 遇到这种情况: 首先要看,*.h 文件是否定义了该方法。 其次,要检查一下,方法之间的{}大括号是否,是否配对正确。