H5点击事件兼容各种APP浏览器
摘要:https://github.com/Clouda-team/touchjs/blob/master/touch.min.js <script src="js/jquery.min.js"></script> <script src="js/touch.min.js"></script>
阅读全文
https 与http 的坑
摘要:网页报这种错误: (blocked:mixed-content) 使用了https就不能夹生http jquery.min.js:4 Mixed Content: The page at 'https://res.xxx.com' was loaded over HTTPS, but request
阅读全文
app慢的可能情况需要优化
摘要:网络请求超时的机制设置,发现如果设置3S太短,导致有一些服务不能成功请求到数据,每次都报超时。问题解决 1. 调大超时时间 2. 优化查询mysql http://blog.chinaunix.net/uid-25063573-id-3032578.html 1,创建索引 对于查询占主要的应用来说,
阅读全文
h5 与app交互
摘要:http://www.jianshu.com/p/7151987f012d
阅读全文
xcode调整debug,release模式
摘要:今天调试的时候发现变量都不能查看了。在「lldb」中通过「po」命令来查看总是提示变量未找到。 环境 xcode 7, Swift 2 错误提示 ‘XXXX’ was compiled with optimization - stepping may behave oddly; variables
阅读全文
测试内容url
摘要:nscurl --ats-diagnostics https://xxxx/xxxx/main/ curl "https://app.api.gupiaoxianji.com/v3.8/main/"
阅读全文
如果空间不够的话,iOS发生这样的错误
摘要:2016-12-16 10:24:50.945 gpxj[2634:21323] Simulator user has requested new graphics quality: 10 2016-12-16 10:24:51.053 gpxj[2634:21323] JPush Log JPus
阅读全文
查看是否丢包效率
摘要:http://blog.csdn.net/wireless_tech/article/details/7429455 http://blog.csdn.net/nanyun2010/article/details/23445223 http://blog.163.com/lqy_super/blog
阅读全文
NSTimer 不能释放
摘要:http://www.jianshu.com/p/2287344894ae
阅读全文
tcp_tw_recycle 的问题, 使用某一个wifi,APP老是连接不上网络
摘要:ss -tan 反映出来的情况就是在服务器上抓包,发现有SYN包,但服务器就是不回ACK包,因为SYN包已经被丢弃了。为了验证这一结果,可以执行netstat -s | grep timestamp 命令,看输出里面passive connections rejected by timestamp
阅读全文