简体   繁体   中英

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

See picture: 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.

http://github.com/jdg/MBProgressHUD

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM