I have a Navigation View with a tab bar delegate so basically it has tab bars and a navigation bar. I'm trying to implement a "Refer a Friend" button where the user will click the button and a mail view will pop up. I'm using the MFMailComposeViewController but my navigation bar is covering the navigation bar for the mail composer so I can't click on the "Cancel" and "Send" button. I tried both self.navigationController.navigationBarHidden = YES and [[self navigationController] setNavigationBarHidden:YES animated:NO] but the navigation bar just won't go away. Anyone have suggestions for this? Do I need to send the mail controller view to the front to hide the navigation bar for my view controller?
I just tried it, and it worked for me. Only thing I can think of is if the view controller you're calling presentModalViewController from doesn't own the navigation controller. It might have to do with how your view is structured - whether you have a navigation controller with a tab bar in it, or a tab bar with a navigation controller in it.
You shouldn't have to send it to the front, though - it is a modal view controller, after all.
Yea, I fixed it. Basically I have a tab bar view, which will add 3 other subviews and when I try calling the MFMailComposer from the subview, it won`t take up the whole screen. I changed it to call from the tab bar view and it adds it properly now.