I want to develop an application that programmatically creates a Personal Hotspot with a predefined name on an iPhone.
Is it possible?
Note the Auto-Join Hotspot setting located at the bottom of the Wi-Fi screen in Settings. This allows the connecting device to automatically discover nearby personal hotspots when no Wi-Fi network is available. Tapping this option lets you set it to Automatic, Ask to Join, or Never.
On the device that you want to connect to, go to Settings > Cellular > Personal Hotspot or Settings > Personal Hotspot and make sure that it's on. Then verify the Wi-Fi password and name of the phone. Stay on this screen until you've connected your other device to the Wi-Fi network.
Pull down from the top of the screen and navigate to Settings > Network & Internet > Hotspot & tethering > Wi-Fi Hotspot, and toggle the switch to on. The hotspot name and password will then be visible.
You can't create a HotSpot in code talking via an API or via a Configuration Profile
Have you looked at GameKit which does a great job of easing connecting devices transparently via Bluetooth or WiFi? Don't let the "Game" name fool you - it's a great and easy to use library.
If you're willing to put the time and work in to build it, sure.
However, you can only do it for jailbroken phones, and you would need to interface the private API:s. If you still want to do it, a starting point could be to go through the private API:s documented here: https://github.com/nst/iOS-Runtime-Headers
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With