短信在没有网络情况下崩溃
摘要:调用发短信的SDK,发现它自带有ASIHTTPRequest.m 在没有网络的情况下崩溃。
阅读全文
使用Html来避免写复杂的app代码,跨平台
摘要:http://www.jianshu.com/p/c375ac056149 http://www.php.net.cn/app/
阅读全文
ios推送
摘要:1. ios 在杀掉app后,只能接受到系统通知,JPUSH自定义消息不能接受到。系统通知经过实验只能接收到50左右个汉字。 2. 实现方案: 推送的时候,JPUSH推送一个消息,App客户端获取到数据,加一个类型判断,判断消息,然后判断是否需要调用后台接口去查询消息,。 1. 获取到人工消息通知,
阅读全文
APN 推送
摘要:推送的各种状态 http://samwize.com/2015/08/07/how-to-handle-remote-notification-with-background-mode-enabled/ How to handle remote notification with backgroun
阅读全文
tableview head
摘要:http://stackoverflow.com/questions/18880341/why-is-there-extra-padding-at-the-top-of-my-uitableview-with-style-uitableviewst
阅读全文
苹果打包,每隔两年就会出现这个问题
摘要:Failed to locate or generate matching signing assets Xcode attempted to locate or generate matching signing assets and failed to do so because of the
阅读全文
画椭圆型
摘要:let testRad = circleRadius * 40// let clip : UIBezierPath = UIBezierPath(arcCenter: pt, radius:// CGF...
阅读全文
异常分析
摘要:This is the point at which we caught the crash. "sigtramp" is the signal "trampoline." That's a fancy way of saying "I caught a signal (crash) and now...
阅读全文
ios-chart 不支持渐变的底色 --- 后面支持了渐变
摘要:https://github.com/danielgindi/ios-charts/issues/186 后话,最近库更新了,可以支持渐变色
阅读全文
工作日志
摘要:1.调试少写一个break到case分支,导致代码fall through出现bug --------- 这样,编译器应该告警才对。添加case要注意。 2.tabbleviewcell reload导致cell样试没有保留。所以需要用额外的变量来保存。 ------- tableviewcell是
阅读全文