小弹出说明......怎么样? [英] Small popup for instructions... How?

查看:139
本文介绍了小弹出说明......怎么样?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在第一次启动应用时显示弹出窗口。只是为了给你一个想法,检查foursquare的新版本。会出现一个小弹出窗口(如漫画),说明签入按钮的位置。然后如果你点击任何地方就会消失。我用谷歌搜索了最后一小时,但我根本没找到任何东西,我不知道该怎么做。

I am trying to get a popup appear the first time an app is started. Just to give you an idea check the new version of foursquare. A small popup (like a comic) appear explaining where the checkin button is located. Then if you tap anywhere it goes away. I googled for the last hour but I have not found anything at all and I have no idea on how to do it.

任何人都可以指出我正确的方向吗?

Anyone can point me in the right direction?

提前致谢,
Umberto

Thanks in advance, Umberto

推荐答案

您可以在应用程序的加载上显示自定义UIlabel,然后使用performSelectorAfterDelay:并隐藏此方法中的标签。对于点击的东西,您可以在视图上添加UITapGesture,以通知是否发生了某些点击,如果标签仍然存在则隐藏标签。

You can show a customized UIlabel on app's load and then use performSelectorAfterDelay: and hide the label inside this method. For the tapping thing you can add a UITapGesture on your view to notify if some tap's occurred and hide the label if it's still there.

这篇关于小弹出说明......怎么样?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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