摘要: 1、使用多种分别率设备:利用viewport标签<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no"> 2、删除默认的苹果工具栏和菜单栏,如手机号自动加 阅读全文
posted @ 2017-03-13 09:17 tomdog 阅读(383) 评论(0) 推荐(0) 编辑
摘要: 把ipa上传到七牛后自动生成plist文件并上传到七牛 阅读全文
posted @ 2016-11-05 15:42 tomdog 阅读(2028) 评论(2) 推荐(0) 编辑
摘要: 利用非jsonp的方式解决跨域问题。 阅读全文
posted @ 2016-11-02 18:52 tomdog 阅读(401) 评论(0) 推荐(0) 编辑
摘要: 使用keytool生成证书苹果手机添加后提示未验证,可以使用Apache的openssl生成证书导入到tomcat中。 使用Apache 生成证书:openssl genrsa 4096 > server.key openssl req -new-key server.key > server.cs 阅读全文
posted @ 2016-10-27 14:08 tomdog 阅读(6237) 评论(0) 推荐(1) 编辑
摘要: html5 离线缓存使用以及注意事项 1、index.html中加入离线缓存的声明文件 如:<!DOCTYPE html><html manifest="test.appcache"> test.appcache 与 index.html在相同路径下。 2、服务器端加入MIME TYPE声明:tom 阅读全文
posted @ 2016-07-14 23:14 tomdog 阅读(239) 评论(0) 推荐(0) 编辑
摘要: jsx编译器 阅读全文
posted @ 2016-05-25 15:27 tomdog 阅读(1486) 评论(0) 推荐(0) 编辑
摘要: 利用babel 编译jsx 阅读全文
posted @ 2016-05-24 15:58 tomdog 阅读(1694) 评论(0) 推荐(0) 编辑
摘要: requirejs使用的简单介绍,第一个require案例。 阅读全文
posted @ 2016-03-10 20:34 tomdog 阅读(339) 评论(0) 推荐(0) 编辑
摘要: 搭建ionic cordova 环境用于编写hybrid 手机程序。 阅读全文
posted @ 2016-03-01 08:55 tomdog 阅读(1751) 评论(0) 推荐(0) 编辑
摘要: 觉得免安装的mysql很好用,一句指令就可以安装和移除了,所以记录一下。 阅读全文
posted @ 2015-01-07 23:28 tomdog 阅读(416) 评论(0) 推荐(0) 编辑