OC:No visible @interface for ‘Xxx‘ declares the selector ‘XXX‘ 想吃酸菜鱼 2021-08-26 281 阅读1分钟 翻译:在Xxx类里面找不到XXX方法 举例: Xxx * x1 = [Xxx new]; [x1 XXX]; //报错出现在这里 //--------------------------- Person * p1 = [Person new]; [p1 eat];//报错 解决方法: 1、确认该类有没有这个方法 2、查看拼写