4 ms·
> In theory, yes, but not in practice. For example All of those are examples of unresponsiveness..
by whynaut 7y ago
> In theory, yes, but not in practice. For example
All of those are examples of unresponsiveness..
- layoutIfNeeded 7y agoNah. Unresponsive = the app’s main event loop is not processing events. On macOS this is when the beach ball cursor is shown. In fact there’s a built-in watchdog in iOS that’ll kill your app after 10 seconds if the main thread is not processing events. On the other hand an app can break in a variety of ways which won’t involve blocking the main thread, e.g. by simply opening a popup that can’t be closed, or getting stuck inside the wall in a game, etc.
- whynaut 7y ago> Unresponsive = the app’s main event loop is not processing events > an app can break in a variety of ways which won’t involve blocking the main thread I’m not saying you’re incorrect, but for the vast majority of users, any input that doesn’t yield an immediate response = unresponsive.
- nvrspyx 7y agoBut that would mean that one thing is unresponsive, not the entire app. The original comment even specified a frozen app.