2

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.

Gobi M
  • 3,243
  • 5
  • 32
  • 47

2 Answers2

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