各位大神,在写tweak遇到一个疑问以下是我要hook的类
%hook TestViewController
- (void)getmaskUpload:(int)arg1
{
//请问在这怎么访问TestViewController的一个类的成员 NSString *_openURLSid;
}
%end
各位大神,在写tweak遇到一个疑问以下是我要hook的类
%hook TestViewController
%end
[%c(TestViewController) openURLSid]
多谢狗神,
这样访问 会导致程序崩溃呢 这是为何?
[self openURLSid]