美文网首页
GCDMulticastDelegate void *

GCDMulticastDelegate void *

作者: 巴糖 | 来源:发表于2019-07-29 14:46 被阅读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
    ……
    }

    相关文章

      网友评论

          本文标题:GCDMulticastDelegate void *

          本文链接:https://www.haomeiwen.com/subject/pjebrctx.html