How to Implement a Cool Alert/Information Overlay on iPhone?
I understand how to include a standard alert within my iPhone application, and can dismiss it with an OK or CLOSE button (see Epicurious example in image).
How can I make a cool alert/notice overlay like the one seen in the foursquare app (see foursquare example in image)? In particular, how to include the alert/notice layout with graphic. Is this a separate view?
If you can 开发者_如何学Gopoint me to a tutorial or sample code that will get me moving in the right direction, it's much appreciated! :)
Answered here.
Jeff Lamarche has a nice write up on the topic here
Sam Vermette has a nice blog post about this http://samvermette.com/309
And this is his corresponding github project.
It's as easy as this:
[SVStatusHUD showWithImage:image status:@"Hello World!" duration:3];
精彩评论