How to create a hotspot network in iOS app using Swift

霸气de小男生 提交于 2019-12-23 02:47:09

问题


I want to create a hotspot network in iOS app using swift. Also please suggest ony apple approved APIs. Thanks!


回答1:


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!



来源:https://stackoverflow.com/questions/48517727/how-to-create-a-hotspot-network-in-ios-app-using-swift

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!