Skip to content

Customizable View Controller which opens a channel to both cameras on iPhone > 4

Notifications You must be signed in to change notification settings

Resplendent/RSCameraViewController

Repository files navigation

RSCameraViewController

Customizable View Controller which opens a channel to both cameras where hardware is available.

RSVideoViewController

This is a class which opens a connection to both the front and back cameras on a layer within itself.

The preview layer's size and relative position can be adjusted by changing

CGRect previewFrame = CGRectMake(0, 0, 320, 390);
CGRect bounds = CGRectMake(0, 70, 320, 390);

It has API's for switching cameras and grabbing a photo, which is informed with the delegate pattern.

-(void)switchCameras;
-(void)captureImage;

RACameraViewControllerApp

Has a single view controller which shows one possible implementation of a camera which can capture photos and switch lenses (front/back)

Feel free to use this as a starting ground for any camera based app. Do some crazy stuff to photos.

About

Customizable View Controller which opens a channel to both cameras on iPhone > 4

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •