"SecondViewController" may not respond to '-updatePlayerQueueWithMedia:' Messages without a matching
- by Pavan
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.