Sunday, 15 September 2013

Set ImagePickerController delegate

Set ImagePickerController delegate

I am not sure how to initialize the UIImagePickerController. I cannot set
the delegate. I would like to use
pickerController.delegate = self;
but this yields a warning: "Sending 'MyViewController *const_strong' to
parameter of incompatible type 'id'"
I declared my class to be a delegate (UIImagePickerControllerDelegate) and
added this:
UIImagePickerController *pickerController;
Can anyone help please?

No comments:

Post a Comment