MBProgressHUD not working with ARC

2019-09-08 06:52发布

Usually I write programs without the ARC but I have inherited an application that was written by someone else who used ARC. I need to add MBProgressHUD to it, but anytime I do I get all kinds of release build errors. My question is, is there an alternative to MBProgressHUD or any way to get it to work with ARC?

1条回答
等我变得足够好
2楼-- · 2019-09-08 07:08

Just turn off ARC for MBProgressHUD .h/.m in Xcode. Even though the developer has not contributed to the project recently, I imagine most libraries like this will not see ARC-compatibility in future.

查看更多
登录 后发表回答