Closed rafalzawadzki closed 1 year ago
With my original implementation I missed the fact that we'll want only wifi connections! On a real device the resolved IP could be also eg. for cellular interface which obviously won't work.
Sources: https://stackoverflow.com/questions/6807788/how-to-get-ip-address-of-iphone-programmatically https://stackoverflow.com/questions/30748480/swift-get-devices-wifi-ip-address
With my original implementation I missed the fact that we'll want only wifi connections! On a real device the resolved IP could be also eg. for cellular interface which obviously won't work.
Sources: https://stackoverflow.com/questions/6807788/how-to-get-ip-address-of-iphone-programmatically https://stackoverflow.com/questions/30748480/swift-get-devices-wifi-ip-address