02 2013 档案

摘要:如果在飞行模式下打开 Safari,程序会给出如下提醒:实现如上提醒的方式为:在应用的 Info.plist 文件中增加一个配置项:SBUsesNetwork,类型是 Boolean,值为 YES。 阅读全文
posted @ 2013-02-25 16:52 Proteas 阅读(405) 评论(0) 推荐(0)
摘要:注意:在 iOS 5.1 下有效。 prefs:root=General&path=About prefs:root=General&path=ACCESSIBILITY prefs:root=AIRPLANE_MODE prefs:root=General&path=AUTOLOCK prefs:... 阅读全文
posted @ 2013-02-25 10:43 Proteas 阅读(429) 评论(0) 推荐(0)
摘要:在应用中拨打电话,可以参考如下的代码片段: // This will dial a call without prompting the user[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"te... 阅读全文
posted @ 2013-02-21 10:14 Proteas 阅读(710) 评论(0) 推荐(0)
摘要:下面这个 C 函数可以用来检测你的程序是否正在被调试: static bool debuggerRunning(void){ int junk; int mib[4]; struct kinfo_proc i... 阅读全文
posted @ 2013-02-20 10:19 Proteas 阅读(492) 评论(0) 推荐(0)
摘要:破解从 AppStore 下载的 IPA 主要包括如下步骤: 1、去除可执行文件中的加密数据。 2、重新签名打包。 可以参考:http://tungchingkai.blogspot.com/2009/02/how-to-decrypt-iphone-ipa-file.html 如上的文章中附了一个... 阅读全文
posted @ 2013-02-06 14:56 Proteas 阅读(1558) 评论(0) 推荐(0)
摘要:平时用两台电脑,一台 Win, 一台Mac,在这两个平台上进行文件传送非常不方便,原因是公司不让用企鹅传公司内部文件。于是想自己写一个传送文件的工具,服务器使用 GAE,开发语言可以选择 Python 或者 Go(最近学习了下 Go,正好练练手)。客户端打算用 Python,至于是否带 GUI 还没... 阅读全文
posted @ 2013-02-04 10:45 Proteas 阅读(610) 评论(0) 推荐(0)