Hi I have integrated Facebook SDK for an iOS 6 app.The Facebook authentication & sharing works perfectly but there are no provision to close the FB Dialogue box.ie. When FB Dialogue box opens,it will be closed only after authentication success.No provision to close or navigate back.How can I make a close button.The code snippet I am using has been shown below.Thanks in Advance.

2 Answers
2

I know what causes this bug! The button and the icon view (there are two views on the top right corner of the dialog box - a close button and an icon view) are actually exist (you can click it to see) but not visible. This is because the project can't see actual image files which are located in FBDialog.bundle. You should copy those images from the bundle and add them to project then set images directly. Your init method may look something like this: