-[__NSCFString longValue]: unrecognized selector sent to instance

You can use NSString methods intValue longLongValue.

这个使用longvalue会crash报上面的错误

原文地址:https://www.cnblogs.com/lisa090818/p/4031694.html