2012-04-09 5 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

답변