2011-08-28 2 views

답변

2

은 다음과 같이 orderFrontStandardAboutPanel:NSButtonFile's Owner에 연결하고 선택

enter image description here

편집

또는 다음 IBAction에 직접 NSButton 연결 :

- (IBAction)theButton:(id)sender { 

    [NSApp orderFrontStandardAboutPanel:self]; 

} 
+0

MainMenu.xib에 없어도 여전히 가능합니까? 그것은 내 다른 .xib에 있기 때문에 다른 파일 소유자와 동일한 메뉴 표시 줄을 사용합니다. 죄송합니다 나는 그 말을 잊어 버렸습니다 – inFever

+0

업데이트 된 답변 :) – Anne

+0

고마워요, 정말 고마워요! :) – inFever