// // CCPhoto.h // CCFC // // Created by xichen on 11-12-16. // Copyright 2011年 ccteam. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIImagePickerController.h> @interface CCPhoto : NSObject { } // 调用系统照片库 + (UIImagePickerController *)showImagePickerView:(id)delegate imgType:(UIImagePickerControllerSourceType)imgType animated:(BOOL)animated; // 将view视图保存到照片库中 + (void)saveViewToPhotosAlbum:(UIView *)view; @end
可能有更新:
googlecode链接地址:http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCPhoto.h
github地址: https://github.com/cxsjabc/iphone-common-codes-ccteam/tree/master/CCFC/files/CCPhoto.h
本文介绍了一个名为CCPhoto的类,它提供了访问iOS设备上的系统照片库和将视图保存到照片库的功能。通过调用CCPhoto类的方法,开发者可以轻松地在他们的应用中实现照片选择和分享功能。

被折叠的 条评论
为什么被折叠?



