處理unrecognized selector 這個方法 利用runtime 機(jī)制當(dāng)中的消息轉(zhuǎn)發(fā)機(jī)制
拯救報錯三步
1Method resolution
objc+resolveInstanceMethod:+resolveClassMethod:
Message Forwarding
2Fast forwarding
-forwardingTargetForSelector:Runtime?nilselfNormal FowardingFastNSInvocation
3Normal forwarding
RuntimenilRuntime-doesNotRecognizeSelector:RuntimeNSInvocation-forwardInvocation: