开发者

Alternatives for MBProgressHUD?

I've used SVProgressHUD which I liked but it didn't support orientation changes. I am using MBProgressHUD but it is a modal HUD.

Is there any good alternative to these? I need the HUD to be non-modal and needs to support orientat开发者_运维知识库ion changes.


Simply setting:

HUD.userInteractionEnabled = NO;

is all it takes to achieve a non-modal behavior (allow touches to pass through the HUD). You don't even have to modify the actual MBProgressHUD code.


SVProgressHUD now does support orientation change. Sorry it took so long.


There's about half a dozen alternatives here: http://cocoacontrols.com/search?q=progress&commit=Search

...although most are modal. But it would be fairly straightforward to adapt to be non-modal. Hopefully one of the libraries at the link above will serve you better anyway.


MBProgressHUD does support orientation changes and is modal in a way that takes whole screen with invisible view. There's source code available, modify it.


A viable alternative written completely in Swift could be IHProgressHUD. Minimum Swift 4.2 required

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜