这个编译报错该怎么解决

Receiver type ‘WCAccountLoginFirstViewController’ for instance message is a forward declaration

1 个赞

@interface WCAccountLoginFirstViewController : UIViewController
@end
放到%hook 上面试试

可以了,感谢老哥,调用self要先声明吗