TAGS :Viewed: 11 - Published at: a few seconds ago

[ Parse Facebook SDK setup with Swift in Xcode ]

I'm looking at https://parse.com/docs/ios_guide#fbusers/iOS, and I see that in steps 6 and 7, the function application is called differently. In my AppDelegate.swift file, I have the application function initializing Parse and Facebook utils, and its working okay. But, when I am confused as to where the application function in step 7 in the link above goes. Please help! Thanks!

Answer 1


For step 7, put that code in your AppDelegate.swift file. That block of code is called when your application is called back into by either Safari or Facebook.app when the user logs in (or cancels the login) via Facebook.