I am using the TGCameraViewController to take photos as part of my iOS Cordova application.
When you want to get a callback after the capture is done or the camera view gets closed you have to implement the TGCameraDelegate methods like the following:
- (void)cameraDidTakePhoto:(UIImage *)image
{
//do something with image
}
- (void)cameraDidCancel
{
// do something
}
- (void)dismissCameraVC
{
// do something
}
After capturing a photo the TGCameraViewController opens a new view where you can apply a filter on the image. The callback methods above are only called when you click the okay button in the second view. I want to skip the second view and get the callbacks right after the capture is done.
How can I skip the second view and apply the callbacks right after the photo has been captured?
Aucun commentaire:
Enregistrer un commentaire