too many arguments to function call, expected 0, have 2解决方案

用xcode13 运行代码报错,定位在

    objc_msgSend(self.refreshTarget, self.refreshSelctor);

将上述代码强制转换之后报错消息

        ((void(*)(id, SEL))objc_msgSend)(self.refreshTarget, self.refreshSelctor);

你可能感兴趣的:(too many arguments to function call, expected 0, have 2解决方案)