1 cocoa-touch objective-c iphone-privateapi ipad ios
是否有用于在iPad应用程序中启用网络共享的私有API?由于iPhone在某些合同下支持网络共享,iOS中API的存在显而易见......
Preferences文件夹中有一个文件,以及com.apple.SpringBoard.plist
:
/var/mobile/Library/Preferences/com.apple.MobileInternetSharing.plist
Run Code Online (Sandbox Code Playgroud)
在该文件中,您需要设置1023
密钥State
以启用"Tethering"功能.要禁用该功能,您需要设置1022
密钥State
.
此操作仅适用于越狱设备