views:

262

answers:

0

Hi, I've integrated one of my iphone app with facebook. And i'm facing a small issue in canceling an ongoing request.

I'm using this function [[FBRequest requestWithDelegate:self] call:@"facebook.friends.get" params:params] to raise a request and - (void)request:(FBRequest*)request didLoad:(id)result to get the friends list. This function take a lot of time depending on the size of friends list. So, i placed a cancel button to stop this function/import, if a user wants to. But i'm not able to figure out how to achieve this functionality. Can someone show me a way out of this plz..

Thanks & Regards, NR