Skip to content
This repository was archived by the owner on Jul 20, 2021. It is now read-only.
This repository was archived by the owner on Jul 20, 2021. It is now read-only.

[self valueForKeyPath:@"m_WCTimeLineIndexPath"];报错 #23

Description

@iosluoyang

在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

但是三种方法都试过了,都不行,望大神赐教

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions