onExtensionResponse
onExtensionResponse
I don't really see this used in any of the examples provided in the api. But I'm trying to implement this in each of my classes, so the class that sends a xt msg will receive the response in that class. But from I have gotten from the examples, I have to send a msg through the app delegate and the delegate's onExtensionResponse always receives the message. Anyone know how to implement this?
if you are using a navigation based application then you can use isKindOfClass to check for the current view controller class in the appdelegate.
eg.
-(void) onExtensionResponse
if([viewController isKindOfClass: [Account class]])
{
[viewController ExtensionResponse:evt];
}
eg.
-(void) onExtensionResponse
if([viewController isKindOfClass: [Account class]])
{
[viewController ExtensionResponse:evt];
}
Game Developer
Jeetesh Bhoria
Jeetesh Bhoria
Return to “iPhone Objective-C API”
Who is online
Users browsing this forum: No registered users and 23 guests