How to create dynamic home icon with number like email or todo

Discussion in 'iOS Development' started by iVodka, Jan 28, 2009.

  1. iVodka

    iVodka New Member

    Joined:
    Jan 28, 2009
    Messages:
    5
    Likes Received:
    0
    Like you have 5 new mail. 2 application need to update. 9 todos need to be done.
    There is the number on the Home icon

    How to create the number update dynamically on the home screen?

    Please see the attached

    Attached Files:

  2. Steaps

    Steaps New Member

    Joined:
    Oct 24, 2007
    Messages:
    5,074
    Likes Received:
    41
    Device:
    iPod touch
    If your looking to use this for the SDK, then i believe you need to wait for push notifications. Although i have some applications from the App Store that have this... Not sure.
  3. Axis

    Axis Super Moderator Staff Member

    Joined:
    Dec 2, 2007
    Messages:
    6,288
    Likes Received:
    133
    Device:
    iPhone 4S (White)
    I don't think this is a matter of push notifications. My mail icon will show me however many unread messages I have. (I manually check)
  4. Steaps

    Steaps New Member

    Joined:
    Oct 24, 2007
    Messages:
    5,074
    Likes Received:
    41
    Device:
    iPod touch
    That's why i said i have some applications with this feature. I have mBox mail, for Hotmail, which has this feature. Hmm.
  5. xxhorseriderxxx

    xxhorseriderxxx Banned

    Joined:
    Jan 9, 2008
    Messages:
    544
    Likes Received:
    0
    Device:
    iPod touch
    What we have now isn't Push, it's simply a badge generated by the app (while it was open). If ya'll're jailbroken, I can recall an app that can assign a badge to any icon, but I can't remember its name =\
  6. gojohnnyboi

    gojohnnyboi Well-Known Member

    Joined:
    Jan 25, 2008
    Messages:
    3,339
    Likes Received:
    55
    Code:
    @property(nonatomic) NSInteger applicationIconBadgeNumber;  // set to 0 to hide. default is 0

    from UIApplication.
  7. iVodka

    iVodka New Member

    Joined:
    Jan 28, 2009
    Messages:
    5
    Likes Received:
    0
    Thank you for your help

Share This Page