2012-04-09 6 views
0

私はMountain Lionの新機能の通知センターを使いたいです。 NSUserNotification.hで私は次のような行を見つけました:Mac OS Xでアプリに署名していますか?

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

これはどういう意味ですか? Appleの開発者アカウントと証明書を取得する必要がありますか?私はコンソールアプリケーションでこのようなクラスを使用します。

NSUserNotificationCenter * center = [NSUserNotificationCenter defaultUserNotificationCenter]; 

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

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

    [center deliverNotification:notification]; 

実際には何も起こりません。アプリに署名するにはどうしたらいいですか?

+1

NBを:署名のための要件は、リリース前に削除されました。 – duskwuff

答えて

関連する問題