What triggers -applicationDidChangeScreenParameters: delegate method?
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