Board logo

标题: [应用] 求iphone上能控制wifi开关的开源App [打印本页]

作者: phoenie    时间: 2011-8-31 18:51     标题: 求iphone上能控制wifi开关的开源App

App Store里肯定是没有了。Cydia我不熟,没越狱。谁知道在ios4上能控制wifi开关的App名字?要开源的,我想看代码。激骚酬谢。
作者: 田鸡奸他大叔    时间: 2011-8-31 19:30

我知道的只有sbsetting
作者: Running82    时间: 2011-8-31 19:48

sbsetting真的好。。。可惜要越狱。。。
作者: beterhans    时间: 2011-8-31 20:13

sbsetting....   这名字好
作者: Jc30    时间: 2011-9-1 00:07

[[objc_getClass("SBWiFiManager") sharedInstance] setWiFiEnabled:NO];
http://stackoverflow.com/questio ... e-wi-fi-manager-sdk
作者: phoenie    时间: 2011-9-1 11:18

引用:
原帖由 beterhans 于 2011-8-31 20:13 发表
sbsetting....   这名字好
SpringBoard, the home screen application of the iOS
作者: RoyWong    时间: 2011-9-1 11:21

sbsetting~~~
作者: 我爱非电解质    时间: 2011-9-1 11:22

posted by wap, platform: iOS

必须越狱
作者: phoenie    时间: 2011-9-1 11:31

引用:
原帖由 Jc30 于 2011-9-1 00:07 发表
[[objc_getClass("SBWiFiManager") sharedInstance] setWiFiEnabled:NO];
http://stackoverflow.com/questio ... e-wi-fi-manager-sdk
多谢。答案说要#import <SpringBoard/SBWiFiManager.h>,我搜了一下,没有SBWiFiManager.h这个文件啊。
倒是有几个文件在/XCodex.x/Platforms/iPhoneOS.platform/DeviceSupport/x.x/Symbols/System/Library/AccessibilityBundles/SpringBoard.axbundle/SpringBoard
请问怎么在工程里引用库?
在没越狱的手机上能执行么?

[ 本帖最后由 phoenie 于 2011-9-1 11:35 编辑 ]
作者: Jc30    时间: 2011-9-1 15:40

私有Framework头文件需要用classdump自行dump出来
https://github.com/peterhajas/SpringBoard-4.x-Headers
是否导入头文件就能访问到,我没有试过不是很确定。




欢迎光临 TGFC Lifestyle (http://club.tgfcer.com/) Powered by Discuz! 6.0.0