2015年8月6日

是uibutton跟tableviewcell同步使用一个bug

摘要: 这个问题是uibutton跟tableviewcell同步使用一个bug,不关delay一点毛事,证据就是点击事件没问题,so,搜到一个方法解决了这个问题。uibutton分类symbian2+ios4 15:51:46子类@implementation Mybutton/*// Only ove... 阅读全文
posted @ 2015-08-06 15:54 墨斌 阅读(138) 评论(0) 推荐(0)
2015年7月23日

iOS一些关于日历的问题

摘要: 1 99 int CalculateDays(int ys, int ms, int ds, int ye, int me, int de) 2 3 100 { 4 5 101 int days = CalcYearRestDays(ys, ms, ds); 6 7 1... 阅读全文
posted @ 2015-07-23 14:49 墨斌 阅读(145) 评论(0) 推荐(0)
2015年7月21日

iOS关于定制某个控件四个角是否为圆角

摘要: UIView *myView=[[UIView alloc]initWithFrame:CGRectMake(50, 70, 200, 200)];UIBezierPath * bezierPath = [UIBezierPath bezierPathWithRoundedRect:myView.b... 阅读全文
posted @ 2015-07-21 17:51 墨斌 阅读(157) 评论(0) 推荐(0)