摘要: CGSize maxSize = CGSizeMake(ScreenW, MAXFLOAT); //设置一个行高上限 NSDictionary *attribute = @{NSFontAttributeName:self.subtitleLabel.font}; CGSize subtitl... 阅读全文
posted @ 2015-10-13 16:53 fengkuangIT 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 做百度地图是否显示路况信息,用到两种状态的图片第一种方法:用Bool进行标记声明一个 Bool _isRoad;- (void)roadBtnAction:(UIButton *)sender{ if (!_isRoad) { [_roadBtn setBackgroundImage:[UI... 阅读全文
posted @ 2015-10-13 16:47 fengkuangIT 阅读(576) 评论(0) 推荐(0) 编辑