Is it possible to change the button image of capture button in iPhone/iPad Camera? If it is possible, how to change its image and to set image for cancel button in camera? Or we need to create seperate toolbar to design it.
Asked
Active
Viewed 1,725 times
2 Answers
1
you can do this by using a custom overlay for UIImagePickerController.
UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init];
imagePicker.delegate = self;
imagePicker.showsCameraControls = NO;
imagePicker.cameraOverlayView = customOverlayView;
then you can use the [imagePicker takePicture]
method to take the picture ,rather than using the default button

Bonnie
- 4,943
- 30
- 34
1
You can overlay a view and on this view you can add buttons as per your need. You can add event on buttons to call takePicture
on the image picker and dismiss it using dismissModalViewControllerAnimated
:
So use UIImagePickerController and set showsCameraControls to NO.
You can check this answer also for this : iphone-sdk-use-a-custom-camera
You can use this apple sample here
Hope it helps you.

Community
- 1
- 1

Nishant Tyagi
- 9,893
- 3
- 40
- 61
-
so we cant change the button image in defaults? – Gobi M May 23 '13 at 13:11
-
Yes. For this you need to use an overlay. – Nishant Tyagi May 23 '13 at 13:13