"SecondViewController" may not respond to '-updatePlayerQueueWithMedia:' Messages without a matching

Posted by Pavan on Stack Overflow See other posts from Stack Overflow or by Pavan
Published on 2010-03-28T17:23:59Z Indexed on 2010/03/28 17:33 UTC
Read the original article Hit count: 339

I don't understand whats happening I get a warning that says "SecondViewController" may not respond to '-updatePlayerQueueWithMedia:' Messages without a matching signature will be assumed to return 'id' and accept '...' as arguments.

this is my method

- (void)mediaPicker: (MPMediaPickerController *) mediaPicker 
  didPickMediaItems: (MPMediaItemCollection *) mediaItemCollection {
    [self dismissModalViewControllerAnimated: YES];
    [self updatePlayerQueueWithMediaCollection: mediaItemCollection];
}

And the actual method which ive written in the same page is

- (void) updatePlayerQueueWithMediaCollection: (MPMediaItemCollection *) mediaItemCollection {

    //and shit happens here.
}

I don't understand whats happening can someone please help me get rid of this warning.

© Stack Overflow or respective owner

Related posts about matching

Related posts about method-signature