I am using the iOS environment header to enable hotspot in ios. Link
NSBundle *b = [NSBundle bundleWithPath:@"/System/Library/PrivateFrameworks/Sharing.framework"]; BOOL success = [b load]; Class SFRemoteHotspotSession=NSClassFromString(@"SFRemoteHotspotSession");
How to implement the following method to enable an access point: -
- (void)enableHotspotForDevice:(id)arg1 withCompletionHandler:(id )arg2;
source share