Basically, you need to look through the tree of subviews of UIImagePickerController. Some of the subviews are buttons. When you find the right button, you can send it a message to trigger the button using:
Code:
UIControl sendActionsForControlEvent:
Be warned, my app does this and is currently being rejected by the app store. Apple seems to be very fickle about this. I'm quite sure i'm doing exactly the same things as Camera Zoom, but where they are allowed to become the #1 app on the App Store, my app is rejected. Go figure.