问题
Is there any way to get Wi-Fi router IP address on iOS from my application?

With help of getifaddrs(struct ifaddrs **) method I can get interface address, subnet mask, broadcast address, but cannot get router address. I have found a lot of solutions for Mac OS, but not for iOS.
Any solutions for iOS?
来源:https://stackoverflow.com/questions/24887904/how-to-get-wi-fi-router-ip-address-on-ios