开发者

Xcode Instruments: Analyze Network Traffic

开发者 https://www.devze.com 2023-01-06 09:17 出处:网络
i have a problem with testing my iPhone app: i want a summary of how much network traffic the app needs for a special operation.

i have a problem with testing my iPhone app: i want a summary of how much network traffic the app needs for a special operation.

I have tried using instruments, but the network activity monitor has no sum of the traffic (and i really neeee开发者_如何学Ceeed a sum!!!).

So how can i get the sum out of the network activity monitor?

Best regards and thank you, Christian


Let your iPhone connect to wifi. Stick a PC on the same LAN. Now use the PC to run Wireshark and spy the traffic to and from your iPhone. You have exact number of packets and their sizes.

0

精彩评论

暂无评论...
验证码 换一张
取 消