定位unrecognized selector sent to instance异常


定位unrecognized selector sent to instance异常_第1张图片
 Unrecognized selector is an exception, and you can set a breakpoint on exceptions.

In Xcode 4, go to the breakpoint navigator, click the +, and choose "Add Exception Breakpoint". Under Exception, choose Objective-C. Under Break, choose On Throw. It should look like this when you're done: 

 

你可能感兴趣的:(selector)