I have a Tabbar application, where clicking on a tabbar item, i should show a Camera Overlay view , BUT it should not HIDE the tabbar, Camera overlay should just fit into the tabbar viewcontrollers, just like behind the tabbar view. I created a custom camera overlay and called UIImagePickerController to my customer camera overlay. But it opens up with full screen mode and hides my tabbar etc.
pickerController.cameraOverlayView = camCumtomOverlay;
I even tried resized the custom camera overlay to small like below, but it open up the camera view with full screen and hides my entire tabbars.
myOwnOverlay = [[[UIView alloc]initWithFrame:CGRectMake(0, 0, 320, 300)] autorelease];
But i want to to fit that custom camera overlay into tabbar.
Could someone please advise me how to achieve it?
Thanks!
I presume you’re using
presentModalViewController:to present the picker. Modal view controllers will go over everything that’s behind, so the tabbar will hide as well. You can add a tabbar in the overlay that acts the same as the main tabbar.