framework to communicate an iOS device with Mac

Which framework or low level module can be used to allow a swift app to take a screenshot of the homes creen of an iOS device connected to the USB port?

I have seen several commercial apps that can to it, so there must be a module or framework they are using (and is not libimobile3, it must be apple native code)

Answered by DTS Engineer in 797269022
because these apps are notarized

Notarisation is most definitely not App Review. The first paragraph of Notarizing macOS software before distribution should set your expectations on that front.

Can you confirm that is NOT the case?

Apple is a big company, and I can only speak to my part of it. Yesterday I said:

  • There’s no supported API for that.
  • Some folks have reverse engineered Apple’s internal mechanisms for this.

and that’s my understanding of this issue.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Which framework or low level module can be used to allow a swift app to take a screenshot of the homes creen of an iOS device connected to the USB port?

There’s no supported API for that. If you’d like to see that change, I recommend that you file an enhancement request. Please post your bug number, just for the record.

Some folks have reverse engineered Apple’s internal mechanisms for this. DevForums isn’t the right place to discuss such efforts. Moreover, I strongly recommend against going down this path because it means you end up relying on implementation details that can change at any time.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Thanks, I have seen MacOS apps that do that. That is why I was wondering if there is an "authorized" way to do it, and assumed they are, because these apps are notarized or otherwise approved my Apple. Those apps show the home screen of the device as soon as they are connected (and work both in Mac and Windows). I've heard that Apple may authorize developers to do that, providing the compliance of certain rules. Can you confirm that is NOT the case? Or as the case may be, can you please point me to the right direction on this matter?

Best,

Lautaro

Accepted Answer
because these apps are notarized

Notarisation is most definitely not App Review. The first paragraph of Notarizing macOS software before distribution should set your expectations on that front.

Can you confirm that is NOT the case?

Apple is a big company, and I can only speak to my part of it. Yesterday I said:

  • There’s no supported API for that.
  • Some folks have reverse engineered Apple’s internal mechanisms for this.

and that’s my understanding of this issue.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

framework to communicate an iOS device with Mac
 
 
Q