mirror of
https://github.com/purplecabbage/phonegap-plugins.git
synced 2026-04-24 03:00:11 -04:00
17 lines
378 B
Objective-C
17 lines
378 B
Objective-C
//
|
|
// Badge.m
|
|
//
|
|
// Created by Simon Madine on 29/04/2010.
|
|
// Copyright 2010 The Angry Robot Zombie Factory.
|
|
// MIT licensed
|
|
//
|
|
|
|
#import "Badge.h"
|
|
|
|
|
|
@implementation Badge
|
|
- (void)setBadge:(NSMutableArray*)badgeNumber withDict:(NSMutableDictionary*)options
|
|
{
|
|
[[UIApplication sharedApplication] setApplicationIconBadgeNumber:[[ badgeNumber objectAtIndex:0] intValue]];
|
|
}
|
|
@end |