Skip to content

iOS 17: hostname for WiFi Sharing shows as localhost.local

On iOS 17 only, probably on Apple's mission to hide as much info as possible about the user from apps, the current way we use for WiFi Sharing to get the hostname of the iOS device will return "localhost.local" and presented to the user, which is not very helpful.

IMG_0001

For additional discussion on this matter, see https://developer.apple.com/forums/thread/731988

Edited by Felix Paul Kühne
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information