Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

During the application lifecycle, how can device be put into Access Point mode?

Like turning on the Personal Hotspot.

And is it possible to assign SSID to that network during runtime?

share|improve this question
1  
All of this is not possible with the official SDK. – rckoenes 2 days ago

1 Answer

up vote 0 down vote accepted

There's no way to do the above with public API.

If you want to use private api there is a file located in the Preferences folder, along with the com.apple.SpringBoard.plist:

/var/mobile/Library/Preferences/com.apple.MobileInternetSharing.plist In that file, you will want to set 1023 for key State to enable the Tethering feature. To disable the feature, you will want to set 1022 for key State.

This action is only possible on a jailbroken device

share|improve this answer
I wont be trying jailbroken path, but unfortunately that is true. The only thing that can be done legally concerning network settings is to obtain info about current network. – Martin Berger yesterday

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.