From iOS 10 onwards, Apple has introduced new Ethernet settings in the device settings option. I am trying to have a wired point to point communication from iPhone to another device using Lightening to Ethernet cable. In order to communicate, I need to manually set static IP and subnet mask under Settings-> Ethernet-> Static IP in my iPhone [as my iPhone is running in iOS 10.x, I have this additional option in the settings].
Now, my question is, does iOS provides any public API to set static IP and subnet mask programatically for Ethernet settings. Other than manually setting network options, do we have any way to set this programatically. Any help is much appreciated.