Ios – Getting “Warning may not respond to a” message iphone

iosobjective c

I am calling a method from another method and keep getting a warning: firstViewController may not respond to '-playJS'

-(void) playJS
{

//my code here

}

Best Answer

You probably haven't declared the method yet in the header file.

Related Topic