QCView to fullscreen
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