crashed when I hooked the method that returns a struct type value
jianke123 opened this issue · 2 comments
jianke123 commented
case:
- (CGPoint)test
{
return CGPointZero;
}
That method hooked must be crashed,can you help me resolve this.
thanks.
youlianchun commented
I have a demo that deals with your problem, and you can search for methodaspects on github, which is my demo.
zhaopeng21790 commented
I have the same problem and how did you solve the problem?
Is that a bug for Aspects?