Click here to Skip to main content
15,896,421 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I am using a UIImageViewController in UITabbarcontroller. Everything is working fine but I am having an issue when I set the source to pick the images from the saved images of the phone, I cannot select the image because the controls to choose the image are, apparently, hidden by the UITabbarController.

I am using a generic code to use the UIImageviewController. My code goes something like this:
UIImagePickerController *imagePickerController = [[UIImagePickerController alloc] init];
imagePickerController.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
imagePickerController.delegate = self;
imagePickerController.allowsImageEditing = YES;
//[self presentModalViewController:imagePickerController animated:YES];
[self.tabBarController presentModalViewController:imagePickerController	animated:YES];
[imagePickerController release];


I have searched it all over the internet but I cannot find any particular help.
Really need urgent help.

Thanks,
Farrukh Javeid

P.S. I have used both to present as ModelViewController and through Tabbar controller but to my horror, the controls are still hidden under the Tabbar.
Posted
Updated 28-Oct-11 1:19am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900