0

I have a situation where I have to use FBDialog.. now what happens at times that the internet might get disconnected while the Dialog is fetching friend list from server and this dialog window stays on top forever.. How can I close this window programmatically..?

Thanks for any ideas.

Ankit Srivastava
  • 12,347
  • 11
  • 63
  • 115
  • there is a colution for that. – Hari1251 Mar 04 '13 at 06:51
  • Call this method -(void)fbDidNotLogin:(BOOL)cancelled wherever u want to close the FB Dailogue box. i mean call the method in connection Error method. – Hari1251 Mar 04 '13 at 06:56
  • Did you read [FBDialog.h](https://github.com/facebook/facebook-ios-sdk/blob/master/src/FBDialog.h)? There are a handful of dismiss methods there... – Paul de Lange Mar 04 '13 at 08:26
  • well this is how I call the dialog - "[appDelegate.facebook dialog:@"apprequests" andParams:params andDelegate:self];".. How do I get the Dialog instance in one of my properties to dismiss it..? – Ankit Srivastava Mar 04 '13 at 08:37

0 Answers0