• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
QCView to fullscreen
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

QCView to fullscreen


  • Subject: QCView to fullscreen
  • From: Jonathan Selander <email@hidden>
  • Date: Fri, 9 Jan 2009 15:45:15 +0100

Hi,

I've loaded a QC into a QCView and i want to make it go full screen. Googling told me to do something like:

- (void) awakeFromNib
{
if (![self loadCompositionFromFile:[[NSBundle mainBundle] pathForResource:@"Introduction" ofType:@"qtz"]]) {
NSLog(@"Could not load composition");
}

hasClicked = NO;
}


- (void)enterFullScreen:(id)sender
{
    // toggle fullscreen mode
    if (self.isInFullScreenMode)
        [self exitFullScreenModeWithOptions:nil];
    else
        [self enterFullScreenMode:[NSScreen self] withOptions:nil];
}

This seems to switch to fullscreen mode, but the monitor turns completely black, and the QC never shows, so I have to quit the app.
_______________________________________________


Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: QCView to fullscreen
      • From: "Sean McBride" <email@hidden>
  • Prev by Date: Re: SetWindowModality Replacement
  • Next by Date: Re: A Data Object in Cocoa
  • Previous by thread: Re: A Data Object in Cocoa
  • Next by thread: Re: QCView to fullscreen
  • Index(es):
    • Date
    • Thread