How to monkeypatch (swizzle) the drawing methods of CGContext

60 Views Asked by At

Is there a way to listen when drawing on the CGContext occurres? For example: listen when beginPath, addRect are called and capture their params.

I'm trying to capture the UI on ios applications whenever a change happens.

0

There are 0 best solutions below