You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 28, 2024. It is now read-only.
I agree this is sort of a bug. I am using an ATMHud to display a HUD while loading an image picker but when dismissing it too fast the HUD is still there (and sometimes uncentered) : http://cl.ly/0h2w2h0N3z3g3q2H0N16
I will try your workaround in the meanwhile and maybe later post some code to correct the issue if I can find the time.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
bug: http://cl.ly/3G1z1w3i1l0x3q200n46
workaround: http://cl.ly/2O251T1C0F0Y0C0n101k
If content is changed in the same runloop, the animations somehow freak out and only crap is displayed (too small, image totally offset, etc...
my current (hacky) fix is to change stuff in the next runloop.
RunAfterDelay(0.0, ^{
[self.progressHUD setActivity:NO];
[self.progressHUD setCaption:message];
[self.progressHUD setImage:[[UIImage imageNamed:@"x"] imageTintedWithColor:[UIColor whiteColor]]];
[self.progressHUD update];
[self.progressHUD hideAfter:5.0];
});
it's created with following function...
if (!self.progressHUD) {
self.progressHUD = [PSATMHud make];
[self.navigationController.view addSubview:self.progressHUD.view];
[self.progressHUD setActivity:YES];
[self.progressHUD setCaption: _(@"PushRequestingToken")];
[self.progressHUD show];
}
The text was updated successfully, but these errors were encountered: