Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 4th, 2012  |  syntax: None  |  size: 0.41 KB  |  hits: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. App crashes on iPad but works well on iPhone4 and iTouch
  2. self.remindItem = [[[UITabBarItem alloc] initWithTitle:@"提醒"
  3.                                    image:[UIImage imageNamed:@"remind.png"] tag:0] autorelease];
  4. [self.remindItem setFinishedSelectedImage:[UIImage imageNamed:@"remind_tapped.png"]
  5.          withFinishedUnselectedImage:[UIImage imageNamed:@"remind.png"]];
  6. self.remindItem.badgeValue = @"2";