简体   繁体   中英

Facebook Integration in iphone?

I am using the Facebook iOS Sdk for iPhone. I initialize the Facebook instance

facebook = [[Facebook alloc] initWithAppId:kAppId];

I use the facebook sdk and get login user information also it's work in simulator show pop view for login page at the same time when i run in device it directly connect to the device facebook but i don't need to connect to device facebook just i need show pop view for login

please guide me.

thanks for advance

您可以尝试使用SDK中提供的FBLoginDialog类,在Facebook.m的authorize方法中,您应该找到它们如何用于非多任务设备。

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