Hi,
I am trying to determine if the Mac that is running my app has an active screen sharing session or not. Is there a way to detect this? Potentially using system API's or a system command?
Any help would be greatly appreciated, thank you!
Hi,
I am trying to determine if the Mac that is running my app has an active screen sharing session or not. Is there a way to detect this? Potentially using system API's or a system command?
Any help would be greatly appreciated, thank you!
I don’t know of any supported way to do that.
Keep in mind that macOS supports third-party screen sharing products, so unsupported techniques that assume that the user is using Apple’s screen sharing feature will fail for a small subset of your users.
Why are you trying to detect this?
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
Please reply as a reply; I’m less likely to see replies in the comments. See Quinn’s Top Ten DevForums Tips for this and other titbits.
Do you have more information on unsupported techniques?
No. The very definition of “unsupported” is that my organisation, Developer Technical Support, doesn’t support it!
If you answer this question:
Why are you trying to detect this?
I might be able to suggest an alternative path.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"