12 2014 档案

摘要:在autolayout中加入每个view的weight,这样相互之间的关系就更明确,比如: double iconViewWeight = 1; double titleLabelWeight = 12; double timeLabelWeight = 3; doubl... 阅读全文

posted @ 2014-12-18 21:36 SCaptain 阅读(310) 评论(0) 推荐(0)

摘要:NSMutableString * str=[[NSMutableString alloc] initWithFormat:@"telprompt://%@",@"152XXXX2761"];[[UIApplication sharedApplication] openURL:[NSURL URLW... 阅读全文

posted @ 2014-12-15 19:50 SCaptain 阅读(158) 评论(0) 推荐(0)

摘要:1、UIImageView 设置内容的Mode的方法imageView.contentMode = UIViewContentModeScaleAspectFill;2、UICollectionViewCell Custom的方法CustomUICollectionViewCell.m- (id)i... 阅读全文

posted @ 2014-12-10 23:03 SCaptain 阅读(362) 评论(0) 推荐(0)

摘要:一.默认状态单行,不可获取用户点击事件,UIViewContentModeRedraw模式,改变就重绘.二.相关属性与函数1.文本属性text // label 显示的文字font // text 的字体,值不可以是nil,否则异常textColor // te... 阅读全文

posted @ 2014-12-03 08:53 SCaptain 阅读(350) 评论(0) 推荐(0)

摘要:在gradle配置文件加入:android { packagingOptions { exclude 'META-INF/DEPENDENCIES.txt' exclude 'META-INF/LICENSE.txt' exclude 'META-IN... 阅读全文

posted @ 2014-12-01 12:59 SCaptain 阅读(608) 评论(0) 推荐(0)

摘要:fn+control+f12 阅读全文

posted @ 2014-12-01 09:13 SCaptain 阅读(129) 评论(0) 推荐(0)

导航