快速和簡易的iOS相機框架:FastttCamera
FastttCamera是一個快速和簡易的iOS相機框架,它是圍繞AVFoundation的一個封裝,能夠讓你構建自己強大的自定義相機App,而沒有直接使用AVFoundation帶來的所有頭痛。
#import "ExampleViewController.h"import <FastttCamera.h>
@interface ExampleViewController () <FastttCameraDelegate> @property (nonatomic, strong) FastttCamera *fastCamera; @end
@implementation ExampleViewController
(void)viewDidLoad { [super viewDidLoad]; _fastCamera = [FastttCamera new]; self.fastCamera.delegate = self;
[self.fastCamera willMoveToParentViewController:self]; [self.fastCamera beginAppearanceTransition:YES animated:NO]; [self addChildViewController:self.fastCamera]; [self.view addSubview:self.fastCamera.view]; [self.fastCamera didMoveToParentViewController:self]; [self.fastCamera endAppearanceTransition];
self.fastCamera.view.frame = self.view.frame;
}</pre>
項目主頁:http://www.baiduhome.net/lib/view/home/1425130224124