Amigo Efectivo

Gane dinero rápido • ¡Conozca a amigos adultos que no usarán sitios públicos! Amigo Efectivo – ¡El buscador de amigos adultos más gratificante de España!

Read More

Record Video With AVCaptureSession

Apple Resources: Media Capture The following are typically required AVCaptureDevice – represents the input device (camera or microphone) AVCaptureInput – (a concrete subclass of) to configure the ports from the input device (has one or more input ports which are instances of AVCaptureInputPort) AVCaptureOutput – (a concrete subclass of) to manage the output to a […]

Read More

Camera Properties

Selecting Camera //********** GET CAMERA IN SPECIFIED POSITION IF IT EXISTS ********** – (AVCaptureDevice *) CameraWithPosition:(AVCaptureDevicePosition) Position { NSArray *Devices = [AVCaptureDevice devicesWithMediaType:AVMediaTypeVideo]; for (AVCaptureDevice *Device in Devices) { if ([Device position] == Position) { return Device; } } return nil; } //Then to use a specific camera: [self CameraWithPosition:AVCaptureDevicePositionFront] [self CameraWithPosition:AVCaptureDevicePositionBack] Does Device Have […]

Read More

Camera Preview On A View Controller

This is based on the superb example here: http://red-glasses.com/index.php/tutorials/ios4-take-photos-with-live-video-preview-using-avfoundation/ Adding Live Preview NOTE – this works for portrait. There seems to currently be an issue making this work with Landscape due to the apple API lacking the required orientation setting Define in the .h file @interface MyViewController : UIViewController { IBOutlet UIView *vImagePreview; //<<<<<ADD THIS […]

Read More

Play Video In Movie Player

Good resources http://mobile.tutsplus.com/tutorials/iphone/mediaplayer-framework_mpmovieplayercontroller_ios4/ Playing A Movie File Add MediaPlayer.framework in the Frameworks folder Select-> Frameworks folder -> Add ->Existing Frameworks -> then select MediaPlayer.framework. In your .h file #import <UIKit/UIKit.h> #import <MediaPlayer/MediaPlayer.h> //In @interface: MPMoviePlayerController *moviePlayerController; In your .m file //*************************************** //*************************************** //********** PLAY MEDIA BUTTON ********** //*************************************** //*************************************** – (IBAction)PlayMediaButton:(id)sender { NSString *path; NSArray […]

Read More

Record Video With UIImagePicker

UIImagePicker is the simple way to record video. It is a portrait only camera (although the image obviously turns when the device is turned, the button bar is portrait only) Add these delegates in the .h file @interface MyViewController_iPhone : UIViewController <UIImagePickerControllerDelegate, UINavigationControllerDelegate> //-ADD THESE { Then in your .m file //***************************************** //***************************************** //********** RECORD […]

Read More

Taking A Picture

Example With Camera Button In Top Navigation Bar In #ViewController.h @interface #ViewController : UIViewController { In #ViewController.m //********** INIT ********** – (id)init { [super initWithNibName:@”ItemDetailViewController” bundle:nil]; //—– ADD CAMERA BUTTON TO NAVIGATION BAR —– UIBarButtonItem *cameraBarButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemCamera target:self action:@selector(takePicture:)]; [[self navigationItem] setRightBarButtonItem:cameraBarButtonItem]; //Add to nav bar when this view controller is on […]

Read More