使用UIWebView 请求http URL出现以下结果:app Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file解决方案:在info.plist中添加<key>NSAppTransportSecurity</key><dict> &...【阅读全文】
http://www.jianshu.com/p/c45da9ef84ebBlock在Objc中,GCC编译器的更新引入了Block语法,这为objc语言提供了良好的闭包的功能,并为 Mac OS 与 iOS 的多个系统API所使用。它的基本语法如下//语法形式 return_type (^block_name)(parameters) //实现 int addtional = 5; int (^addBlock...【阅读全文】