• 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
What triggers -applicationDidChangeScreenParameters: delegate method?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What triggers -applicationDidChangeScreenParameters: delegate method?


  • Subject: What triggers -applicationDidChangeScreenParameters: delegate method?
  • From: Bill Cheeseman <email@hidden>
  • Date: Wed, 10 Dec 2014 11:03:23 -0500

One of my applications implements the -applicationDidChangeScreenParameters: delegate method, in order to change the default position of its only window when the user does something like changing screen resolution, adding or removing a monitor, or changing relative monitor positions.

I am in the process of updating the application, and I just noticed that this delegate method is now triggered every time I launch the application. I can't figure out what change in my code is causing this to happen. Can somebody suggest how I can go about debugging this? I already tried setting breakpoints everywhere in the launch process (e.g., -awakeFromNib, -applicationDidFinishLaunching:), and the trigger happens after all of them have finished executing.

I'm building on OS X 10.10.1 Yosemite with Xcode 6.1.1.

--

Bill Cheeseman - email@hidden

_______________________________________________

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: What triggers -applicationDidChangeScreenParameters: delegate method?
      • From: Ken Thomases <email@hidden>
  • Prev by Date: Re: Opening an Embedded Application in Terminal
  • Next by Date: Re: What triggers -applicationDidChangeScreenParameters: delegate method?
  • Previous by thread: over 200 warnings when building a lib
  • Next by thread: Re: What triggers -applicationDidChangeScreenParameters: delegate method?
  • Index(es):
    • Date
    • Thread