How can I dismiss FBWebDialogs?

327 views Asked by At

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?

2

There are 2 answers

2
Harunmughal On
0
estemendoza On

You have to use the following:

[self dismissViewControllerAnimated:YES completion:nil];