简体   繁体   中英

How can I dismiss FBWebDialogs?

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?

您必须使用以下内容:

[self dismissViewControllerAnimated:YES completion:nil];

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM