iOS-Runtime-Headers
iOS-Runtime-Headers copied to clipboard
Using private API to enable personal hotspot in ios
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;
I am interested in a swift implementation of this.
Any progress with that?