Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to monitor all network traffic from an iOS app from within the app?

Tags:

ios

I would like to track the times that network requests occur as well as their size, from within an iOS app. Is there a way to do this (without private APIs)?

I am writing a static library which will be included in an app whose code I have access to. However, I want to minimize the amount of modifications I make to the app's code. Assume the network requests (HTTP only) can be sent anywhere.

Thanks

like image 885
ahb Avatar asked Dec 12 '25 03:12

ahb


1 Answers

You can use this free and open-source library: https://github.com/pmusolino/Wormholy Really easy to integrate and to use, using Cocoapods.

Disclaimer: I'm the creator of this tool.

like image 118
Paolo Musolino Avatar answered Dec 15 '25 01:12

Paolo Musolino