This 开发者_C百科may be a simple question but i would like some help to find out how to make it.
I want to make a custom "loading" popup for my ipad app. Just like this app:
http://www.youtube.com/watch?v=ZY31Bn5slv0 you see the black loading popup at +- 30sec,40sec,56sec,...
I remember that i had a sample of this, but can't find it back.
Can someone show me which way to look?
Thanks
This is exactly what you want.
After adopting this,
in initWithFrame:
mehode of Loadingview
create a frame with CGRectMake(0,0,300,300)
then make it center loadingView.center = aSuperView.center;
and inside the drawRect:
methode set ROUND_RECT_CORNER_RADIUS = 20;
looks like a UIView
with curved corners a UIActivityIndicator
and a UILabel
saying "loading".
精彩评论