*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSConcreteValue shadowColor]: unrecognized selector sent to instance 0x1c464ef10'
#pragma mark 下面这句代码会造成崩溃
textAttrs[NSShadowAttributeName] = [NSValue valueWithUIOffset:UIOffsetZero];
解决方法,我是直接注释的。
注:个人笔记,不喜勿喷!!!
网友评论