myell0w / MTStatusBarOverlay

A custom iOS status bar overlay seen in Apps like Reeder, Evernote and Google Mobile App
MIT License
1.92k stars 325 forks source link

Even when progress set to 0 first, progress looks like 0.5 initially #32

Closed garrettmurray closed 13 years ago

garrettmurray commented 13 years ago

When using the following code (note that doFetch does stuff and updates the progress amount eventually up to 1.0):

MTStatusBarOverlay *overlay = [MTStatusBarOverlay sharedInstance]; overlay.animation = MTStatusBarOverlayAnimationShrink; overlay.progress = 0.0; [overlay postMessage:@"Fetching latest items..."]; [self doFetch];

There's a visible glitch: When the "Fetching latest items..." first shows in the status bar, it looks like it has 50% progress. Then the progress shoots back down to zero and it actually starts working up properly.

myell0w commented 13 years ago

This should be fixed with commit c5e6436020e347772fde, at least for my test case. Please report if there is still a problem