Is that possible to present a UIImagePickerController inside a view, instead of using it modal or inside a popover?
I have tried this, without success...
if ([UIImagePickerController isSourceTypeAvailable:
UIImagePickerControllerSourceTypePhotoLibrary]) {
UIImagePickerController *picker = [[UIImagePickerController alloc] init];
picker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
NSArray *mediaTypesAllowed = [UIImagePickerController availableMediaTypesForSourceType:UIImagePickerControllerSourceTypePhotoLibrary];
[picker setMediaTypes:mediaTypesAllowed];
picker.delegate = self;
[picker.view setFrame:CGRectMake(0,0, 400, 400)]; // just for testing
[picker.view setCenter:CGPointMake(200,200)];
[myView addSubview:picker.view];
[picker.view release];
}
thanks for any help