Skip to content

Instantly share code, notes, and snippets.

@priore
Created October 25, 2013 23:40
Show Gist options
  • Save priore/7163490 to your computer and use it in GitHub Desktop.
Save priore/7163490 to your computer and use it in GitHub Desktop.
Icon with symbol of the beta version
//
// Icon with symbol of the beta version instead of the number of badges.
//
// The first thing to note is that the method uses a private API
// so you don't want the code included in your App Store build.
// You can use conditional compilation to achieve this.
//
// original post from @sgaw
//
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
#ifdef DEBUG
[[UIApplication sharedApplication] performSelector:@selector(setApplicationBadgeString:) withObject:@"β"];
#endif
/// TODO: your code here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment