iOS移动开发
坤伦删
大神是需要代码堆出来的
展开
-
Layer 用法的总结
一、position和anchorPoint 1.简单介绍 CALayer有2个非常重要的属性:position和anchorPoint @property CGPoint position; 用来设置CALayer在父层中的位置 以父层的左上角为原点(0, 0) @property CGPoint anchorPoint; 称为“定位点”、“锚点” 决定着CALayer身上原创 2015-07-27 11:40:27 · 1890 阅读 · 0 评论 -
相机的调用以及从相册中选取图片
需要添加的代理 @interface ViewController : UIViewControllerUIActionSheetDelegate,UIImagePickerControllerDelegate,UINavigationControllerDelegate> 一、点击调取相机的按钮 - (void)chooseImage:(id)sender {原创 2015-07-17 17:27:22 · 474 阅读 · 0 评论