I'm new writing iOS tweak, and i want to write a tweak to intercept a request to a server from an app to change the destination server.
Example:
App make a request to server A -> I intercept it, and i change the server A to server B, so the request will be made to server B, and the app will receive the response from server B.
The app is a webview, so i cant hook app's functions.. Specifically I want to change the request to a PHP script which answers some information, and i want to change this information.
Someone knows what functions should i hook?
Thanks!! :)