GCDMulticastDelegate void *

2019-07-29  本文已影响0人  巴糖
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Argument 1 to method onMicDataByAEReady:data: - Type(^) not supported'

增加新类型支持

- (NSInvocation *)duplicateInvocation:(NSInvocation *)origInvocation
{
……
else if (*type == *@encode(void *))
        {
            void *value;
            [origInvocation getArgument:&value atIndex:i];
            [dupInvocation setArgument:&value atIndex:i];
        }
 else
……
}
上一篇 下一篇

猜你喜欢

热点阅读