喜欢 iOS 应用程序中的按钮 [英] Like button in iOS application

查看:28
本文介绍了喜欢 iOS 应用程序中的按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道如何将 Facebook 的赞"按钮放入 iOS 应用程序中吗?我已经尝试了这篇博客文章.但我不太喜欢这种方法,因为它丑陋的登录对话框.而且,更重要的是,它使用户登录两次.例如,如果用户没有登录,他想在他的墙上发布一条消息,我调用标准的 FBLoginDialog,在该用户发布一条消息后,他可能想要按下喜欢"按钮,他必须再次登录 - 这真的是很糟糕的用户体验.

Does anybody know how to place Facebook "like" button into iOS application? I've tried the method described in this blog post. But I do not really like this method, because its ugly Login dialog. And, what is more important, it makes user login twice. For example, user wants post a message to his wall if he isn't logged in I call standard FBLoginDialog, after that user posted a message he may want push "like" button and he have to login again - it is really bad user experience.

怎么样?如何在我的 iOS 应用中为用户提供喜欢"功能?

How to be? How can I give user "like" feature in my iOS app?

推荐答案

这实际上是唯一的方法.没有像 iOS 那样的特殊按钮.然而,好消息是,就在今天Facebook 宣布支持移动应用的单点登录.这应该会减轻用户登录 Facebook 所面临的一些负担.

That is actually the only way to do it. There is no special iOS like button. However, the good news is that just today Facebook announced single sign in support for mobile apps. This should remove some of the burden the user faces to log in to facebook.

这篇关于喜欢 iOS 应用程序中的按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆