これでUIModalPresentationFormSheetを使用しているときにキーボードを非表示にする方法キーボードの完了ボタンをクリックすると、キーボードがモデルビューから隠されませんこのコードの問題は、このクラスを間違った方法で呼び出しています
-(IBAction)BenefitManage
{
manage*theManageView=[[[manage alloc]initWithNibName:@"manage" bundle:nil]autorelease];
[theManageView setDelegate:self];
theManageView.navigationItem.title =NSLocalizedString(@"Manage", @"Manage");
navController = [[UINavigationController alloc] initWithRootViewController: theManageView];
navController.modalPresentationStyle=UIModalPresentationFormSheet;
//theManageView.modalPresentationStyle = UIModalPresentationFormSheet;
// [self presentModalViewController:theManageView animated:NO];
[self presentModalViewController:navController animated:YES];
}