创建“加载...”查看使用iPhone SDK [英] Creating a "loading..." view using iPhone SDK

查看:118
本文介绍了创建“加载...”查看使用iPhone SDK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当一些长时间未完成的操作正在进行时,如何创建许多应用程序使用的黑色/灰色模式弹出式视图?

How to create that black/gray modal popup kind of view that many apps use, when some long pending operation is in progress?

像使用基于位置的服务,加载网页,屏幕变暗,并且有一个模式视图显示旋转图标请稍候...

Like when using location based services, loading a webpage, the screen goes dim and there is a modal view showing a spinning icon "Please wait..."

以下截图中的示例:

推荐答案

如果你想避免无证api,你也可以看看 MBProgressHUD 。它类似于UIProgressHUD甚至有一些额外的功能。

If you want to avoid undocumented api you can also take a look at MBProgressHUD. It's similar to UIProgressHUD and even has some additional features.

这篇关于创建“加载...”查看使用iPhone SDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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