开发者

Custom activity indicator popup

开发者 https://www.devze.com 2023-01-20 19:10 出处:网络
This 开发者_C百科may be a simple question but i would like some help to find out how to make it.

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".

0

精彩评论

暂无评论...
验证码 换一张
取 消