On rare occasions the iOS status bar can be 40pts high rather than 20pts (for example, when on a call or recording something with the microphone).
This patch removes the hardcoded 20pt value and replaces it with a [[UIApplication sharedApplication] statusBarFrame].size.height. This prevents the animation 'snapping' into place when an extended status bar is present.
On rare occasions the iOS status bar can be 40pts high rather than 20pts (for example, when on a call or recording something with the microphone).
This patch removes the hardcoded 20pt value and replaces it with a
[[UIApplication sharedApplication] statusBarFrame].size.height
. This prevents the animation 'snapping' into place when an extended status bar is present.