osx - Macintosh Application location in case of dual monitor -


Suppose that my Macintosh machine has dual monitors, how can I set the monitor correctly in my application.
/ div>

[NSScreen main screen] gives the screen with a focused window is. When you are applying, call this method

Comments

Popular posts from this blog

android - How can I execute default sms app? -

jquery .css('text-decoration') doesn't work from parents -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -