5

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;
Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
shakshi
  • 231
  • 1
  • 2
  • 9

0 Answers0