I am using iOS runtime 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 do i implement the following method to enable hotspot:-
- (void)enableHotspotForDevice:(id)arg1 withCompletionHandler:(id /* block */)arg2;