- 博客(2)
- 收藏
- 关注
原创 Layer 用法的总结
一、position和anchorPoint1.简单介绍CALayer有2个非常重要的属性:position和anchorPoint@property CGPoint position;用来设置CALayer在父层中的位置以父层的左上角为原点(0, 0) @property CGPoint anchorPoint;称为“定位点”、“锚点”决定着CALayer身上
2015-07-27 11:40:27
1883
原创 相机的调用以及从相册中选取图片
需要添加的代理@interface ViewController :UIViewControllerUIActionSheetDelegate,UIImagePickerControllerDelegate,UINavigationControllerDelegate>一、点击调取相机的按钮- (void)chooseImage:(id)sender {
2015-07-17 17:27:22
464
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人