- [__NSCFConstantString size]
- [__NSCFConstantString size]: unr
- -[__NSCFConstantString size]: un
- [__NSCFConstantString objectForK
- iOS开发NSString的内存及copy和mutableCop
- -[__NSCFConstantString _imageTha
- [__NSCFConstantString objectForK
- [__NSCFConstantString objectForK
- -[__NSCFConstantString objectFor
- -[__NSCFConstantString charValue
出现:-[__NSCFConstantString size]: unrecognized selector sent to instance 0x10bf88dc0
2015-11-26 15:44:04.112 GoodToFuture[2833:1140339] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFConstantString size]: unrecognized selector sent to instance 0x10bf88dc0'
原因:因为使用时候的类型和初始化的对象类型不匹配造成的,比如UIImage *image = @"imageName";会出现此错误。
网友评论