What is the IP address of the iPhone simulator?

I have been looking for an answer to this question for some time. I do network programming for the iPhone and I need to use the IP address of the device. This is not a problem on the physical device, since it has its own IP address on the network. However, I was wondering what was with him in the simulator. Does it get the assigned IP address to be used?

+3
source share
2 answers

IP address of the device on which you run it

+9
source

should be 127.0.0.1

0
source

Source: https://habr.com/ru/post/1740439/


All Articles