iOS Facebook library login
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I just downloaded the facebook library for iOS at this URL https://github.com/facebook/facebook-ios-sdk I managed to run the sample app just fine, however, when I click on the login button, it actually opens the login screen in a browser. How can I prevent this? Thanks, Tee 回答1: Figured it out. In Facebook.m, change safariAuth:YES to safariAuth:NO 文章来源: iOS Facebook library login