Frida , which provides dynamic code coding using the Python API, may be useful. It allows you to enter JavaScript fragments into native applications on iOS (and Windows, Mac, Linux).
There's a good tutorial on using Frida on iOS .
There's also Saurik Cycript , which allows "developers to research and modify running applications on iOS or Mac OS X using the Objective-C ++ hybrid and JavaScript syntax through an interactive console."
And, of course, its Cydia Substrate allows you to change / enter the behavior of iOS applications.
Pierz source share