2

This 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

meersmans
  • 463
  • 5
  • 14

2 Answers2

3

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;

Ajith
  • 1,457
  • 3
  • 16
  • 29
1

looks like a UIView with curved corners a UIActivityIndicator and a UILabel saying "loading".

Thomas Clayson
  • 29,657
  • 26
  • 147
  • 224
  • thanks, the keyword "curved corners" leaded me to: http://stackoverflow.com/questions/1031930/how-is-a-rounded-rect-view-with-transparency-done-on-iphone – meersmans Oct 20 '10 at 13:03
  • 1
    theres an easier way to do it... `#import ` and then you can do `myView.layer.cornerRadius = 10;` – Thomas Clayson Oct 20 '10 at 13:19
  • 1
    oké.. didn't knwow that property... But i think using MBProgressHUD is easyer, then you don't have to do the same work twice. Anyway thanks for response! – meersmans Oct 21 '10 at 07:38
  • MBProgressHUD is great! Thanks for the tip – Paul Solt Jan 26 '11 at 20:23