#include "SpringBoardAccess.h"
+MSClassHook(UIApplication)
+
extern "C" void CoreSurfaceBufferFlushProcessorCaches(CoreSurfaceBufferRef buffer);
static size_t width_;
SBA_removeStatusBarImage(const_cast<char *>("Veency"));
else if ($SBStatusBarController != nil)
[[$SBStatusBarController sharedStatusBarController] removeStatusBarItem:@"Veency"];
- else if (UIApplication *app = [UIApplication sharedApplication])
+ else if (UIApplication *app = [$UIApplication sharedApplication])
[app removeStatusBarImageNamed:@"Veency"];
}
SBA_addStatusBarImage(const_cast<char *>("Veency"));
else if ($SBStatusBarController != nil)
[[$SBStatusBarController sharedStatusBarController] addStatusBarItem:@"Veency"];
- else if (UIApplication *app = [UIApplication sharedApplication])
+ else if (UIApplication *app = [$UIApplication sharedApplication])
[app addStatusBarImageNamed:@"Veency"];
}