Quantcast
Channel: 睿论坛 - 最新话题
Viewing all articles
Browse latest Browse all 5732

Theos如何hook一个类中的属性

$
0
0

@BigFaceCat wrote:

如题,新手在学习中遇到这个问题。在一个类中有如下这样的一个属性,怎么hook修改其中的值呢。目前知道属性会生成两个实例方法,str和setStr方法,hook这俩方法目测没有更改,不知还有其他方法吗?求指导

@ interface ViewController : UIViewController

@ property (nonatomic, strong) NSString* str;

@ end

Posts: 11

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5732

Trending Articles