Android – iPhone UIImagePickerController problem: want to show UIActivityIndicatorView after hit “Use” button

android-activityiphoneprogressuiimagepickercontroller

When Apple introduced version 3.0 of the iPhone OS the UIImagePickerController changed slighty: it no longer provides an activity or progress indicator after the user confirms a recently taken photo. In a nutshell, you now
– take a picture,
– decide it's ok and
– hit the "Use" button and wait.
There is no indication as to whether you have actually hit the "Use" button or not. Often, I hit it several times since I am unsure if I actually hit it or not. After a few seconds, you see the image or the image becomes available via delegate connections, e.g.

  • (void)imagePickerController:(UIImagePickerController *)picker
    didFinishPickingMediaWithInfo:(NSDictionary *)info

My question is this:
– How do I display an UIActivityIndicatorView right after the "Use" button is selected? Or, how to I insert my own code by intercepting the "Use" button callback? I've searched the web and expected many people to have the same problem but have not found a solution yet.

Thanks.

Best Answer

Unfortunatly you cant intercept this call. I say this because there is no delegate method in UIImagePickerController that will tell the delegate about the push of Use button. Since you cant change the code in UIImagePickerController i dont think there is anything one can do. Apple mightimprove this with 3.1, i heard that they have done some work on UIImagePickerController...

Related Topic