Aspects icon indicating copy to clipboard operation
Aspects copied to clipboard

crashed when I hooked the method that returns a struct type value

Open jianke123 opened this issue 8 years ago • 2 comments

case:

  • (CGPoint)test { return CGPointZero; }

That method hooked must be crashed,can you help me resolve this. thanks.

jianke123 avatar Jun 28 '17 11:06 jianke123

I have a demo that deals with your problem, and you can search for methodaspects on github, which is my demo.

youlianchun avatar Jul 29 '17 13:07 youlianchun

I have the same problem and how did you solve the problem? Is that a bug for Aspects?

zhaopeng21790 avatar Sep 17 '19 10:09 zhaopeng21790