Hi, I'm new to obj C, I come from an AS3.0 background. Basically in this app I'm making, I'm using the applicationWillResignActive in the app delegate to react to a call coming in . I have a navigationController with a table view that just triggers another view on select (the template provided in xcode basically) I have a method in my AnotherViewController view that gets loaded from the row select. That method will (for now) change my label in there to "Call coming in". In my applicationWillResignActive I'm calling this method and it works fine but I get an annoying warning saying UIViewController may not be able to respond to handleIncomingCall...but it compiles fine and DOES respond to it. How can I get rid of this warning sign?
-(void) applicationWillResignActive:(UIApplication *)application {
NSLog(@"CALL COMIN IN");
UIViewController *vc = [navigationController visibleViewController];
[vc handleIncomingCall];
[vc release];
}
Sorry, I'm trying to figure out how to format it in here...