异常:'NSInvalidArgumentException'
来源:互联网 发布:淘宝天猫2016活动时间 编辑:程序博客网 时间:2024/05/23 21:52
今天ios程序运行报错:Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘-[ViewController1 aries:]: unrecognized selector sent to instance 0x1756f5f0’。一开始以为是自己的协议写错了,后面发现原来是给控件的点击事件的监控连线出问题了。
(http://img.blog.csdn.net/20160510233519894)
回想起来在创建的时候发现方法的首写字母为大写,随手修改了,然后将两者又关联上。但是Aries方法现在被删掉。因此报错。只要在show the connections inspector中删掉此连线就好。
0 0
- 异常:'NSInvalidArgumentException'
- iOS异常 'NSInvalidArgumentException'
- 使用NSJSONSerialization的注意事项,NSInvalidArgumentException异常
- IOS crash之NSInvalidArgumentException
- 解决NSInvalidArgumentException', reason: '-[NSNull]
- iOS Crash之NSInvalidArgumentException
- NSInvalidArgumentException', reason: '*** -[NSURL initWithString:relativeToURL:]:
- exception ‘NSInvalidArgumentException’, reason: ‘data parameter is nil
- 集成 admob Banner广告出错之一NSInvalidArgumentException
- NSInvalidArgumentException’, reason: ‘data parameter is nil
- 'NSInvalidArgumentException', reason: '-[Teacher copyWithZone:]: unrecognized selector sent to insta
- 'NSInvalidArgumentException', reason: '-[__NSCFArray objectForKey:]: unrecognized selector sent to i
- Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[YCFlag objectAtIn
- Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString cont
- 解决gas mask在macOS Sierra下报错NSInvalidArgumentException
- ios接如微信SDK报错'NSInvalidArgumentException', reason: '-[__NSArrayM enqueue:]:
- ios接如微信SDK报错'NSInvalidArgumentException', reason: '-[__NSArrayM enqueue:]:
- iOS 接入微信SDK报错 'NSInvalidArgumentException'
- Java多线程与并发(二)之线程同步
- 使用自己的ClassLoader实现热替换
- 距离感染中文版Office还远吗?勒索软件Locky最新传播载体分析
- 第十周项目2——贮存班长信息的学生类
- java Switch语句 和 各运算符
- 异常:'NSInvalidArgumentException'
- Spark-ML-02-设计机器学习系统
- mysql设置精度
- 认识JAVA
- IE6双倍边距bug
- Java多线程 面试题
- 基于反射和注解的Bean对应数据库表的自动生成
- 勤能补拙,一个人的成功,往往在于坚持
- [SCU 4497] GooZy的游戏时间 (基于搜索时间的剪枝)