2015-07-28 16:34:24.374 ezplug[1532:602143]-[__nscfnumber length]: Unrecognized selector sent to instance 0xb0000000000000222015-07-28 16:34:37.367 ezplug[1532:602143] * * * terminating app due to uncaught exception ' Nsinvalidargumentexception ', Reason: '-[__nscfnumber length]: Unrecognized selector sent to instance 0xb000000000000022 ' * * * First throw Call stack: (0x1823a82d8 0x1940240e4 0x1823af3a4 0x1823ac154 0x1822aeccc 0x186e29d98 0x1001618fc 0x100160 C44 0x10015d20c 0x10015a178 0x100166188 0x1001052bc 0x100104698 0x10019e7c4 0x100135570 0x100500fd4 0x100500f94 0x100505c28 0x18235f7f8 0x18235d8a0 0x1822892d4 0x18bce76fc 0x186e86f40 0x1001f0bc8 0x1946cea08) Libc++abi.dylib: Terminating with uncaught exception of type NSException This error occurs because when you call a NSString object that has the length method, you pass him a nsnumber pair of images. You can do this by setting a break on exceptions and then finding where the length method is called. How to Device exception breakpoint, my first two articles have detailed introduction, here is not much to receive.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
[__nscfnumber length]: Unrecognized selector sent to instance 0xb000000000000022