快速和简易的iOS相机框架:FastttCamera
jopen
10年前
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; }
项目主页:http://www.open-open.com/lib/view/home/1425130224124