一个简单的,可定制的iOS摄像头控件:LLSimpleCamera

分享到:

screenshot.png

LLSimpleCamera是一个用于创建自定义相机界面类似snapchat的库。您不必在新的视图控制器中展示相机。

LLSimpleCamera:

  • will let you easily capture photos
  • handles the position and flash of the camera
  • hides the nitty gritty details from the developer

示例使用

CGRect screenRect = [[UIScreen mainScreen] bounds];
// create camera vc
self.camera = [[LLSimpleCamera alloc] initWithQuality:CameraQualityPhoto];
// attach to the view and assign a delegate
[self.camera attachToViewController:self withDelegate:self];
// set the camera view frame to size and origin required for your app
self.camera.view.frame = CGRectMake(0, 0, screenRect.size.width, screenRect.size.height);

项目主页:http://www.open-open.com/lib/view/home/1416472989305

昵    称:
验证码:

相关文档: