Hey can anybody tell me how I can change the camera view in iphone wher开发者_StackOverflow中文版e i found to buttons like 'use' and 'retake' and 'Move to Scale'message in that window I want to add some Label on top most part.How could I do that.
Reply soon
You question title and your actual question seem a bit different.
To change the UIImagePickerControllerSourceType just set your controller's .sourceType
property to your desired type:
UIImagePickerControllerSourceTypePhotoLibrary,
UIImagePickerControllerSourceTypeCamera,
UIImagePickerControllerSourceTypeSavedPhotosAlbum
Now, to add a label on the picker controller, you should create your UILabel and add it to your picker's "camera overlay view" (@property(nonatomic,retain) UIView *cameraOverlayView)
. To use this feature you should be building your app for OS 3.1 or later.
In any case, it would help to take a look at the UIImagePickerController
Class reference.
精彩评论