06 2016 档案
摘要:一、问题描述 html代码如下 显示效果如下 oc代码如下 点击demo.html的按钮“js调用oc”,网页跳转到fzw://send。UIWebView的代理方法- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NS
阅读全文
摘要:一、SSZipArchive 1.简介 SSZipArchive是iOS和Mac上一个简单实用的压缩和解压插件。用途包括:1.解压zip文件;2.解压密码保护的ZIP文件;3.创建新的zip文件;4.追加文件到现有的压缩;5.压缩文件;6.压缩NSData(带有文件名) SSZipArchive的G
阅读全文
摘要:一、问题描述 在处理XML的过程中,在项目中手动创建名为“data.xml”的文件,加入网上找的内容 然后xcode加载data.xml中的内容 执行没有任何结果。 二、问题分析 估计原因是elementsForDogs元素个数为0,没有进入for循环。打印elementsForDogs的元素总数,
阅读全文
摘要:一、问题描述 在学习网络处理的过程,发现代码都没错,运行时会收到如下错误提示: App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary ex
阅读全文
摘要:一、问题描述 运行时发生以下警告: This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes.
阅读全文