2012-04-09 19 views
0

Ich möchte die neue Benachrichtigungszentrale von Mountain Lion verwenden. In NSUserNotification.h fand ich Zeilen sagen:Mac OS App signieren?

// Use of these classes requires your application be signed. 

Was bedeutet das? Soll ich ein Apple-Entwicklerkonto und -Zertifikat haben? I Verwenden Sie die entsprechenden Klassen in der Konsolenanwendung.

NSUserNotificationCenter * center = [NSUserNotificationCenter defaultUserNotificationCenter]; 

    NSUserNotification *notification = [[NSUserNotification alloc] init]; 

    notification.title = @"asdasdasdasd"; 
    notification.informativeText = @"text text"; 

    [center deliverNotification:notification]; 

Aber nichts passiert wirklich. Wie unterzeichne ich die App?

+1

NB: Die Forderung nach Unterzeichnung wurde vor der Veröffentlichung gelöscht. – duskwuff

Antwort