我正在寻找某种类型的模态警报视图(iOS)的 API,但我不完全确定它是自制的还是 Apple 提供的。它看起来像一个黑色透明的正方形,有圆角,通常是一个图标,下面有一个标签。例如,它用于 iPhone Twitter 应用程序。正如所观察到的,它仅暂时显示信息,并在状态发生更改(如“正在加载”或“发布”)时消失。
是否有为此预先构建的 API 或者是定制的?如果可能的话,当公开分享时,我在哪里可以找到这样的东西?
非常感谢任何帮助。
亲切的问候,
雷德尔
I'm looking for an API for a certain type of modal alert view (iOS), but I'm not entirely sure whether it's home-built or Apple-provided. It looks like a black transparent square, with rounded corners, usually one icon and a label below. For instance, it is used in the iPhone Twitter app. As observed, it only displays information momentarily and is dismissed when a state has changed (like "Loading" or "Posting").
Is there a pre-built API for this or is it custom built? And if possible, when shared publicly, where can I find such a thing?
Any help is greatly appreciated.
Kind regards,
Reinder
发布评论
评论(1)
MBProgressHUD 正是您正在寻找的:
https://github.com/matej/MBProgressHUD
Apple 不会拒绝使用 MBProgressHUD 的应用程序。
MBProgressHUD is what you're looking for:
https://github.com/matej/MBProgressHUD
Apple does not reject applications using MBProgressHUD.