an internal ios crash because function name has prefix 'new_'

后端 未结 0 1610
不思量自难忘°
不思量自难忘° 2020-12-07 15:50
@implementation UIViewController (hook)

+ (void)load{
    swizzleSelector(self, @selector(initWithCoder:), @selector(new_initWithCoder:));
}

- (instancetype)new_in         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题