Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using private API to enable personal hotspot in ios #43

Open
sakshigidwani93 opened this issue Apr 10, 2017 · 2 comments
Open

Using private API to enable personal hotspot in ios #43

sakshigidwani93 opened this issue Apr 10, 2017 · 2 comments

Comments

@sakshigidwani93
Copy 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;

@jspenc72
Copy link

I am interested in a swift implementation of this.

@roei46
Copy link

roei46 commented Jan 5, 2018

Any progress with that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants