Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

LibStatusBar icon disappears on 3rd-party app launch

It's been a while since I've used libstatusbar, but if you are absolutely sure the LSStatusBarItem is not being released, it's possible it's being hidden by Springboard or another app. Consider setting icon.visible = YES explicitly. You also might want to consider setting timeHidden on LSStatusBarServer to NO explicitly by calling [item setHidesTime:NO].

Additionally, if you're not making any changes to the icon, set icon.manualUpdate = NO.

References:

  • Libstatusbar on the iPhoneDevWiki
  • LSStatusBarItem.mm source