jdg / MBProgressHUD

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

graceTime和- (void)hideAnimated:(BOOL)animated afterDelay:(NSTimeInterval)delay 冲突。 #605

Open fangtingchao opened 4 years ago

fangtingchao commented 4 years ago

MBProgressHUD *HUD = [[MBProgressHUD alloc] initWithView:view]; HUD.removeFromSuperViewOnHide = YES; HUD.graceTime = 0.25; [view addSubview:HUD]; [HUD showAnimated:YES]; [HUD hideAnimated:YES afterDelay:3];

当设置了graceTime,延迟隐藏hud失效。 MBProgressHud版本号:1.1.0