[英]How can I use alerts like the volume alert in the iPhone in my apps?
What is the kind of alerts like the iPhone volume 像iPhone音量一样的警报类型是什么
See picture: http://caius.name/images/ringer.jpg 查看图片: http : //caius.name/images/ringer.jpg
Thanks, 谢谢,
There's no built-in support for those alerts, but they're pretty simple to create on your own. 这些警报没有内置支持,但是您可以轻松创建它们。 You can construct the alert programatically, or what I've done in the past is just to create an image like the one you linked to and add any dynamic components as subviews. 您可以以编程方式构造警报,或者我过去所做的只是创建与链接到的图像一样的图像并将任何动态组件添加为子视图。
If you want something significantly more powerful, check out MBProgressHUD. 如果您想要更强大的功能,请查看MBProgressHUD。
http://github.com/jdg/MBProgressHUD http://github.com/jdg/MBProgressHUD
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.