Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to programmatically enable hotspot mode in iPhone?

Tags:

iphone

wifi

I want to develop an application that programmatically creates a Personal Hotspot with a predefined name on an iPhone.

Is it possible?

like image 490
Jordi Avatar asked Apr 07 '13 09:04

Jordi


People also ask

Is there a way to automatically turn on iPhone hotspot?

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.

How do I manually use my iPhone as a hotspot?

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.

How do I make my personal hotspot visible?

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.


2 Answers

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.

like image 167
Niels Castle Avatar answered Oct 02 '22 12:10

Niels Castle


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

like image 28
uvesten Avatar answered Oct 02 '22 14:10

uvesten