mushanlianshi

Results 3 comments of mushanlianshi

当方法签名为nil的时候 NSMethodSignature *ms = [self avoidCrashMethodSignatureForSelector:aSelector]; 能直接调ms = [AvoidCrashStubProxy instanceMethodSignatureForSelector:@selector(proxyMethod)];新签名返回吗

你好,我看了issues 40的问题 考虑到系统的一些个别UI控件的个别方法会在最后一步进行转发,但是我们调用[self avoidCrashMethodSignatureForSelector:aSelector]系统最后一步方法签名的时候为nil了,我的理解是系统转发最后一步的方法签名也已经是nil了,最后一步消息转发不是必须处理methodSignatureForSelector和forwardInvocation,当methodSignatureForSelector为nil的时候也转发不了,不知道理解的对不对,想请问一下,谢谢。