jdg / MBProgressHUD

MBProgressHUD + Customizations
http://www.bukovinski.com/
MIT License
16.01k stars 3.56k forks source link

Fixed crash when hiding hud for ios 10 #512

Closed RamiroRamirez closed 5 years ago

RamiroRamirez commented 6 years ago

The library is crashing whenever the hud is being hidden in ios 10 (tested in iphone 5SE). This might not break anything cause the activity is never stopped in code

matej commented 6 years ago

According to the documentation:

hidesWhenStopped If the value of this property is YES (the default), the receiver sets its hidden property (UIView) to YES when receiver is not animating. If the hidesWhenStopped property is NO, the receiver is not hidden when animation stops. You stop an animating progress indicator with the stopAnimating method.

How exactly does this fix a crash? How can the crash be reproduced?