我在使用[NSMethodSignaturegetArgumentTypeAtIndex]函数时遇到了非常奇怪的行为。它返回BOOL类型的“@”字符,根据objective-ctypeencodings错误.如果我使用objc\runtime.h库方法method_getTypeEncodingBOOL类型正确表示为“B”,但我不明白为什么它不能与更高级别的NSMethodSignature一起使用。以下代码演示了该问题:-(void)viewDidAppear:(BOOL)animated{[superviewDidAppear:animated];NSInvocation*inv=