问题
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:
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.
来源:https://stackoverflow.com/questions/8290437/mbprogresshud-not-working-with-arc