I want to create a hotspot network in iOS app using swift. Also please suggest ony apple approved APIs. Thanks!
Asked
Active
Viewed 2,573 times
1
-
Provide some code you had tried – Jaydeep Vora Jan 30 '18 at 09:21
1 Answers
2
NEHotspotHelper is an official API to do exactly this kind of stuff. Though the API is not an 'Open to All' kind. It needs the entitlement 'com.apple.developer.networking.HotspotHelper' to be included in your app. To use this entitlement you need to ask for a permission from Apple to use this class with your app's bundle identifier with a clear reason for why you need it with some other details of your app. Use this link to apply for the entitlement. Once apple sends an approval mail to you, you are good to go!

Yogi
- 3,578
- 3
- 35
- 56
-
Can I create a test app, before actually get the entitlement approved by apple – Asheesh Feb 02 '18 at 10:13
-
Unfortunately, it's not possible for you to use this entitlement before Apple's approval. You need to get the approval first. – Yogi Feb 02 '18 at 11:59
-
-
Do you have any sample by which we can create a hotspot network, I read somewhere that this is not possible. Can you confirm? – Asheesh Feb 02 '18 at 12:13
-
You may try [this](https://mobiarch.wordpress.com/2016/11/02/working-with-nehotspothelper/). There are many other articles available on this topic. – Yogi Feb 05 '18 at 07:24
-
1That doesnt seem to have the info. Theres stuff on *joining* a Hotspot, but not creating one. – Shayne Aug 26 '19 at 03:56