What's new
Apple iPad Forum 🍎

Welcome to the Apple iPad Forum, your one stop source for all things iPad. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Popover and ImagePicker

CosmicChild

iPF Noob
Joined
Nov 4, 2010
Messages
1
Reaction score
0
Location
England
Hi everyone,

Im a complete N00b when it comes to iPhone/iPad programming and im trying to play with a program from tutorials on the net, and im currently trying to get an image picker to work

I have a button that launches an image picker, in a sub view of my main view and this works well - but I can't seem to get the code to recognise when a user has selected an image.

I have tried the following


Code:
    - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info {
    [picker dismissModalViewControllerAnimated:YES];
    theimageView.image = [info objectForKey:@"UIImagePickerControllerOriginalImage"];

}
I don't get any errors when it runs - it just does nothing

Apploiges if this is an obvious answer but any help or any pointers in the right direction would be very very appreciated

Alan
 
Last edited:

Most reactions

Latest posts

Top