0

I'm working on one Touch app, in this i have to navigate to one viewController when user presses the home button, irrespective to what ever viewController user is currently seeing. The problem is , if i open up FBWebDialogs using 'presentFeedDialogModallyWithSession', its not removed from the view.

i already tried to remove all views from the super view, pop to rootviewcontroller and dismissModalViewController but still it stays on screen.

any one has any idea how can I programmatically close it?

Termininja
  • 6,620
  • 12
  • 48
  • 49
Ravi_Parmar
  • 12,319
  • 3
  • 25
  • 36

2 Answers2

0

Hi you can refer this one http://cocoadocs.org/docsets/Facebook-iOS-SDK/3.7.0/Classes/FBWebDialogs.html thanks

Harunmughal
  • 367
  • 1
  • 4
  • I already have seen this link, its of no use for hiding the FBWebDialogs, they just listed the ways to present it. – Ravi_Parmar Jan 17 '14 at 07:04
  • Hi You can also refer FBWebDialogHandler in this links https://developers.facebook.com/docs/reference/ios/current/class/FBWebDialogs/ hope it can help. Thanks – Harunmughal Jan 17 '14 at 07:31
0

You have to use the following:

[self dismissViewControllerAnimated:YES completion:nil];
estemendoza
  • 3,023
  • 5
  • 31
  • 51