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 (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com