0
스노우 레오파드에서 전체 화면으로 nsview를 전환 할 수있는 방법이 있습니까? 이 같은코코아 : 스노우 레오파드 전체 화면 nsview
스노우 레오파드에서 전체 화면으로 nsview를 전환 할 수있는 방법이 있습니까? 이 같은코코아 : 스노우 레오파드 전체 화면 nsview
무언가가 당신을 위해 일한다 -
- (IBAction)enterFullScreen:(id)sender
{
NSDictionary *fullScreenOptions = [[NSDictionary dictionaryWithObject:[NSNumber numberWithInt:1] forKey:NSFullScreenModeAllScreens] retain];
BOOL fullScreenEnteredFlag = [fullScreenView enterFullScreenMode:[NSScreen mainScreen] withOptions:fullScreenOptions];
}
NSView의 다음과 같은 방법
– enterFullScreenMode:withOptions:
– exitFullScreenModeWithOptions:
– isInFullScreenMode
당신이 문서 검색 한 적이있다? NSView 클래스 레퍼런스를 살펴보십시오. 그것은 전체 화면 모드에 섹션이 있습니다. – sidyll
예, google – rafa
@rafa 그런 다음 "전체 화면"과 동일한 결과가 표시된다고 가정 할 것입니다. 무엇이 효과가 없었습니까? –