IOS UILabel 设置圆角
2015-09-12 14:11
429 查看
UILabel 的layer.corner.radius属性直观上没有修改圆角UIview可以设置
label.layer.masksToBounds = YES;
label.layer.cornerRadius = 10;
label.layer.masksToBounds = YES;
label.layer.cornerRadius = 10;
相关文章推荐
- POJ 2533 Longest Ordered Subsequence(DP最长上升子序列O(n^2)&&O(nlogn))
- iOS UItableview加载图片的时候的优化之lazy(懒加载)模式and异步加载模式
- NGUI相关----UITexture图片边缘流光效果
- 多个大小不同的UILabel底部对齐的方法
- iphone中UINavigationBar(导航条视图)的介绍
- iOS学习之KVC中setValuesForKeysWithDictionary:
- UI:关于RGB与16进制颜色值的转换
- 【转】SoapUI5.0创建WebService接口模拟服务端
- UITableView中自定义Cell,自适应高度
- 给NGUI上的预设体动态添加点击事件
- leetcode: Distinct Subsequences
- EQueue文件持久化消息关键点设计思路
- setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key lable1.'
- UIpickerView
- @PathVariable和@RequestParam的区别
- JPA字段映射(uuid,日期,枚举,@Lob)
- Leetcode_232_Implement Queue using Stacks
- Lettcode_232_Implement Queue using Stacks
- 用block改写UIButton点击事件和UIAlerView的按钮点击代理方法
- [iOS UI进阶 - 5.0] 手势解锁Demo