摘要:
本文转载至http://www.51094.com/?p=212第一种: 发送一个正常的 pdf 文件,只要是能读取pdf 的都能得到响应-(IBAction)openDocumentIn:(id)sender { NSString* filePath = [[NSBundlemainBundle]pathForResource:@"ASIHttpRequest"ofType:@"pdf"]; UIDocumentInteractionController*documentController = [UIDocumentInteractionContro 阅读全文
posted @ 2014-04-02 15:32
天牛
阅读(1140)
评论(0)
推荐(0)
摘要:
本文转载至 http://gaohaijun.blog.163.com/blog/static/176698271201161524857373/问题:那位能说一下怎么能检测到iphone的屏幕现在是否在被点亮的状态,还是被关闭的黑屏状态,要用那个api ,给点提示 谢谢了。复制代码- (void)didTurnOnDisplay;- (void)didTurnOffDisplay;没有测试,但是相信可以。刚刚测试,假如是子类化UIApplication是无法接受到这个方法的。用Objc Runtime的method_exchangeImplementations(method, method 阅读全文
posted @ 2014-04-02 13:50
天牛
阅读(675)
评论(0)
推荐(0)

浙公网安备 33010602011771号