gumplau
gumplau

Reputation: 1

Change the IP Address on iPhone by using code

My app has to connect to a server which can redistribute a new IP Address for the iOS client device. How to change the IP Address on iPhone by using code in my app? The app will not be published on the app store and the iOS devices may be jailbroken if necessary. Anyone can give some suggestion on coding?

Upvotes: 0

Views: 489

Answers (2)

Nirav Gadhiya
Nirav Gadhiya

Reputation: 6342

From Apple Documentation : iOS is using DHCP(Dynamic Host Configuration Protocol) protocol. So As per DHCP manual IP settings are not allowed by coding.

To learn more about DHCP read This.

Upvotes: 0

Nikos M.
Nikos M.

Reputation: 13783

You cannot change ip address with the non-private frameworks that you are allowed to use.

You have to find a different architecture for your server-client communication if you want your app to be published on the app store.

Upvotes: 3

Related Questions