Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: minimum presentation time #100

Open
cbowns opened this issue May 21, 2015 · 0 comments
Open

Feature request: minimum presentation time #100

cbowns opened this issue May 21, 2015 · 0 comments

Comments

@cbowns
Copy link

cbowns commented May 21, 2015

MBProgressHUD supported the concept of a "minimum show time" and a "grace timer", which made for a great user experience. (A snippet from its header and implementation)

You could show a HUD and set it to show for at least 2.0 seconds, with a 1.0s grace time. If the operation finished in under 1s, the HUD wouldn't display. If it did display, it'll stay visible for 2.0s, even if you call dismiss on it a moment later. This prevents HUDs from flashing for quick operations, and gives the user time to read any text you may have displayed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants