Present Modal view over Modal view not showing

I've had a look on SO and can't find an answer to this. I'm presenting a modal view from:

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
     [tableView deselectRowAtIndexPath:indexPath animated:YES];
     ICObservationEditController *controller = [[ICObservationEditController alloc] initWithObservation:[self.observations objectAtIndex:indexPath.row]];
     UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:controller];
     navController.navigationBar.barStyle = UIBarStyleBlackOpaque;
     navController.navigationBar.tintColor = [UIColor grayColor];
     [self.editController presentModalViewController:navController animated:YES];

Once presented, as an option I want to present a text message over the top from the MessageUI framework:

MFMessageComposeViewController *controller = [[MFMessageComposeViewController alloc] init];
if([MFMessageComposeViewController canSendText]) {

    //code here for text body

    controller.recipients = [NSArray arrayWithObjects:@"", nil];
    controller.messageComposeDelegate = self;
    [self.editController presentModalViewController:controller animated:YES];

The debugger confirms I'm receiving the event, but no view is presented. The code is correct as I have used the exact same code in other apps when not already in a modal view.


The UIKit won't allow this but there are workarounds. This article should help you.

Need Your Help

Recaptcha not working in IE7 and 8

javascript ajax recaptcha

I am using Google Recaptcha Ajax API and it is working well in FF and Chrome but a very disappointing result I got in IE 7 and 8. I follow guidelines via this link

create an AVI file

php flex avi

I have got set of images with whom I'll play animation like in powerpoint. Now i need to export that animation to avi, mpeg, mov format using either flex or php. Please tell me if there any solutio...