如何在iPhone / iPad / iOS上显示临时弹出消息 [英] How to display temporary popup message on iPhone/iPad/iOS

查看:169
本文介绍了如何在iPhone / iPad / iOS上显示临时弹出消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在iPhone / iPad上显示一条临时信息,显示行动确认,或者某些背景活动的快速状态。

I'd like to display a temporary message on the iPhone/iPad displaying confirmation of an action, or some quick status about some background activity.

是否有标准控制这样做?我见过应用程序这样做。圆角矩形,深色和部分透明,内有文字。它不会要求用户输入,而是在很短的时间内自行消失。
Android有一个类似的标准构造。也类似于Growl显示的窗口。

Is there a standard control to do this? I've seen apps do this. A rounded rectangle, dark and partially transparent with text inside. It does not ask for user input but disappears on its own in some short period of time. Android has a similar construct which is standard. Also similar to the windows displayed by Growl.

建议赞赏。

推荐答案

cocoacontrols.com上有一个模拟Android风格Toast弹出窗口的用户库。可能就是你要找的东西。

There is a user library on cocoacontrols.com that emulates the Android-style Toast pop-ups. Might be what you are looking for.

http://www.cocoacontrols.com/platforms/ios/controls/altoastview

还有一个遵循相同想法。

There's also this one that follows the same idea.

http:// www。 cocoacontrols.com/platforms/ios/controls/itoast

这篇关于如何在iPhone / iPad / iOS上显示临时弹出消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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