1
나는 그렇게 보았고 그에 대한 답을 찾을 수 없습니다. 옵션으로 나는 MessageUI
프레임 워크에서 정상에 문자 메시지를 제시 할,현재 모달보기 오버 모달보기가 보이지 않음
- (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];
}
일단 발표 : 나는에서 모달보기를 제시하고있어
MFMessageComposeViewController *controller = [[MFMessageComposeViewController alloc] init];
if([MFMessageComposeViewController canSendText]) {
NSLog(@"presented");
//code here for text body
controller.recipients = [NSArray arrayWithObjects:@"", nil];
controller.messageComposeDelegate = self;
[self.editController presentModalViewController:controller animated:YES];
}
디버거가 난 확인 이벤트를 수신했지만보기가 제공되지 않습니다. 모달보기가 아닌 다른 앱에서 똑같은 코드를 사용 했으므로 코드가 정확합니다.
이미 모달로 표시되는보기에서 모달보기를 제공하는 것은 좋지 않습니다. http://developer.apple.com/library/ios/#featuredarticles/ViewControllerPGforiPhoneOS/ModalViewControllers/ModalViewControllers.html – satheeshwaran