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

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

问题描述

有没有人知道如何将Facebook像按钮放到iOS应用程序中?我已经尝试了这个博客文章中描述的方法一>。但我不太喜欢这种方法,因为它的丑陋的Login对话框。而且,更重要的是,它使用户登录两次。例如,如果用户想要向他的墙壁发送消息,如果他没有登录我打电话给标准的FBLoginDialog,那个用户发布了他可能想要的喜欢按钮的消息,他必须再次登录 - 这真是糟糕的用户体验。



如何做?我如何在iOS应用程序中给予用户喜欢功能?

解决方案

这实际上是唯一的方法。没有特别的iOS像按钮。然而,好消息是,今天刚刚 Facebook宣布单一登录支持移动应用。这应该可以消除用户面临的一些负担,登录到Facebook。


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.

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

解决方案

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天全站免登陆