-4

This question already has an answer here:

Its been a while I am looking for mechanism of screen capture in MacOS. Even with extensive googling I found no luck with its actual mechanism. Can somebody guide me through some good resources or even better the actual mechanism and implementation of screen capture (with api calls and functioning)? Thanks

marked as duplicate by fsb, Allan, IconDaemon, LH16, klanomath macos Feb 1 '18 at 17:12

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • This is basically the same question that you asked 2 days ago - the answer was contact Apple as it is their private API ... – Solar Mike Feb 1 '18 at 11:56
  • Earlier I was asking for a method to prevent screen captures. In this question however the situation is vice versa. I need a method/implementation to write a screen capture program. I believe this is different from my previous question – Nikhil Nilawar Feb 2 '18 at 5:10
2

You can record the screen with QuickTime Player, included in the OS:

File -> New Screen Recording

If you want programmatic access, you can find the API here: https://developer.apple.com/documentation/avfoundation/avcapturescreeninput

Not the answer you're looking for? Browse other questions tagged .