FishChat
FishChat copied to clipboard
[self valueForKeyPath:@"m_WCTimeLineIndexPath"];报错
在CHOptimizedMethod2Hook 发现页 heightforrow的方法的时候,有这么一句代码: NSIndexPath *timelineIndexPath = [self valueForKeyPath:@"m_WCTimeLineIndexPath"]; 是使用kvc获取朋友圈cell的indexpath,但是发现一直在编译过程报错,错误信息如下:
Receiver type 'FindFriendEntryViewController' for instance message is a forward declaration
这该怎么解决呢?
PS:网上查了一下iOS逆向工程获取成员变量的方法,参考https://blog.csdn.net/u010545480/article/details/75043858
但是三种方法都试过了,都不行,望大神赐教