Created
October 25, 2013 23:40
-
-
Save priore/7163490 to your computer and use it in GitHub Desktop.
Icon with symbol of the beta version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// 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