iPhone Development - Non documented UIProgressHUD class

前端 未结 4 1874
[愿得一人]
[愿得一人] 2020-12-17 00:17

I\'ve only heard about what UIProgressHUD class do, but i cannot find the implementation of this class or any documentation. Reference to this class can be found in \"The iP

相关标签:
4条回答
  • 2020-12-17 00:59

    I've created my own "progress HUD", the MBProgressHUD. I've recently published the code on my blog. If you want, you can check it out and see if it meets your needs.

    You can find the code at: http://github.com/matej/MBProgressHUD

    0 讨论(0)
  • 2020-12-17 01:01

    I think UIProgressView is what you're supposed to use now.

    http://www.iphonedevcentral.org/tutorials.php?page=ViewTutorial&id=43&uid=34167348

    How to integrate NSURLConnection with UIProgressView?

    0 讨论(0)
  • 2020-12-17 01:21

    Don't use private APIs. If you're lucky, Apple will approve your app, then change or remove the API in an OS update, angering your customers. If you're unlucky, Apple will reject your app.

    On the Mac, you can get away with it (at least temporarily). On the iPhone, don't use private APIs, EVER.

    Edit: And since this answer was originally written, Apple added an App Store to the Mac. Same rule applies there: If you want to distribute your app in the App Store, don't use private APIs, EVER.

    0 讨论(0)
  • 2020-12-17 01:21

    At the moment, the only alternative is to roll your own, or find someone else who has done the same and is willing to share their code with you.

    0 讨论(0)
提交回复
热议问题