priore

Icon with symbol of the beta version

Jun 23rd, 2013
604
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
  15.  
  16. ...
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×