我想在關閉imagePickerController(恰好在完成圖像拾取後)之後提供一個modalViewController(做一些圖片繪製)。我試圖用條形按鈕設置IBAction,當我點擊它時它工作正常。但是,一旦我要的是目前modalViewController我完成影像擷取 這裏是我的代碼:在圖像拾取後顯示一個modalViewController
-(void)imagePickerController:(UIImagePicerController*)picker didFinishPickingMediaWithInfo:(NSDictionary*)info{
[self dismissModalViewControllerAnimated:YES];
//dismiss the imagePickerController
drawViewController *drawView = [[drawViewController alloc] init];
[self presentModalViewController:drawView animated:YES];
}
謝謝!
嗨,非常感謝你給你的解決方案,它現在完美的工作! – Viper 2010-10-10 01:58:48