2011-04-29 54 views
0

顯示UIImagePicker我這裏有一個情況,請幫我在這,我可以在視圖中顯示imagepicker insted的在modalview呈現他們的iphone:在UIView的

我想這個代碼,但它不工作

UIImagePickerController *picker=[[UIImagePickerController alloc] init]; 
picker.delegate=self; 

picker.sourceType=UIImagePickerControllerSourceTypeSavedPhotosAlbum; 
//[self presentModalViewController:picker animated:YES]; 
[imagePickerView addSubview:picker.view]; 

請提前

回答