如何在iPhone应用程序中显示foursquare签到后屏幕?
在现有应用程序中添加“foursquare 签到”功能引发了一些问题。主要是“用户签到后显示什么?”。在本机 foursquare 客户端中,签到完成后,它将显示一个屏幕,其中显示您通过该签到获得的任何徽章、特价和积分。
由于签到不是我们应用程序的主要功能,因此我们希望有一种方法可以让用户选择按需查看此信息。我们可以从 API 的签入响应中获取所有这些信息,但我们不想重新发明轮子。
我们尝试使用自定义 URL 来显示本机应用程序,如此处所述 (客户端 API),但仅显示签入信息,而不是结果:foursquare://checkins/CHECKIN_ID
是否存在未记录的客户端 URL,我们可以调用该 URL 来显示此信息,或者需要将其显示在我们的应用程序?
Adding the "foursquare check-in" ability to an existing app has raised some questions. Mainly, "what to show after the user has checked in?". Within the native foursquare client, after a checkin is completed, it will display a screen showing any badges, specials and points you earned with that checkin.
Since checking-in isn't the primary function of our app, we wanted a way to give the user an option to see this information on demand. We can get all of this information from the API's checkin response, but we didn't want to reinvent the wheel.
We tried using the custom URL for displaying the native application as described here (Client API) but that just displays the checkin information, not the results from it:foursquare://checkins/CHECKIN_ID
Is there a client URL that is undocumented that we can call to display this information, or will it need to be displayed in our app?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
没有用于显示签到信息的自定义 URL/意图。现在,您需要重建您的签到后屏幕版本。
There is no custom URL / intent for showing post check-in information. For now you'll need to reconstruct your version of the post check-in screen.