AdiRac
AdiRac

Reputation: 21

grab image displayed on the UIImagePickerController without the overlay

I'm using UIImagePickerController with the camera as the sourceType. I am also drawing a custom overlay on the picker using the built-in overlay functionality(picker.overlay = myOverlay).

How can I get an UIImage of the camera, excluding my overlay?. I tried using UIGetScreenImage() but that captures my overlay as well.

Upvotes: 0

Views: 564

Answers (1)

Ole Begemann
Ole Begemann

Reputation: 135550

[picker takePicture];

Upvotes: 3

Related Questions