• 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
Re: QCView to fullscreen
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: QCView to fullscreen


  • Subject: Re: QCView to fullscreen
  • From: "Sean McBride" <email@hidden>
  • Date: Fri, 9 Jan 2009 10:07:11 -0500
  • Organization: Rogue Research Inc.

On 1/9/09 3:45 PM, Jonathan Selander said:

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

You want [NSScreen mainScreen], not [NSScreen self].

Also, you might want to search the archives for some limitations with
the enterFullScreenMode:withOptions: API.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

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

References: 
 >QCView to fullscreen (From: Jonathan Selander <email@hidden>)

  • Prev by Date: Re: A Data Object in Cocoa
  • Next by Date: Re: A Data Object in Cocoa
  • Previous by thread: QCView to fullscreen
  • Next by thread: [commentary] The value of warnings [was: Re: A Data Object in Cocoa]
  • Index(es):
    • Date
    • Thread