– (IBAction)saveImages:(UIButton *)sender – (IBAction)deleteAfterImage:(UIButton *)sender – (IBAction)libraryAfterImage:(UIButton *)sender – (IBAction)cameraAfterImage:(UIButton *)sender – (IBAction)deleteBeforeImage:(UIButton (strong, nonatomic) IBOutlet UIImageView *afterImage – (IBAction)libraryBeforeImage:(UIButton *)sender – (IBAction)cameraBeforeImage:(UIButton *)sender So far I have managed to code the app to take a single picture with the code ViewController : (strong, nonatomic) IBOutlet UIImageView *beforeImage I am trying to create a camera application that will allow the user to take a ‘before’ image, then take an ‘after’ image, I would then like the option for the images to be put together (left and right) and saved as one image. Im pretty newish to this kind of coding but have learnt a fair bit and have unfortunately hit a bump in an app im working on. The example application is very simple: we will have a main window with a big UIImageView to show the selected photo, and two buttons: one to take a new photo, and the other one to select a photo from the photo library. To help you understand the usage of UIImagePickerController, we’ll build a simple camera app. As usual, the UIImagePickerController requires the use of a delegate to respond to interactions. The iOS library provides the class UIImagePickerController which is the user interface for managing the user interaction with the camera or with the photo library. Also, we’ll see how to access the internal photo library and allow user to pick a photo. In this tutorial, we are going to learn how to use the built-in camera of the iPhone (or the iPod or iPad, if they have one) to take a photo. Previously, we covered how to use the built-in APIs to read a RSS feed and build a simple RSS Reader app. IOS Build a Simple Camera App Using UIImagePickerController
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |