Icon with symbol of the beta version
priore Jun 23rd, 2013 444 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- // 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:@"β"];
RAW Paste Data