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!
  1. //
  2. // Icon with symbol of the beta version instead of the number of badges.
  3. //
  4. // The first thing to note is that the method uses a private API
  5. // so you don't want the code included in your App Store build.
  6. // You can use conditional compilation to achieve this.
  7. //
  8. // original post from @sgaw
  9. //
  10. - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
  11. {
  12. #ifdef DEBUG
  13.     [[UIApplication sharedApplication] performSelector:@selector(setApplicationBadgeString:) withObject:@"β"];
  14. #endif
  16. ...
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand