How to get a list of installed apps using Swift?

please could someone help me to check if it is possible using Swift code to get the list of installed apps on the device?

Replies

No it is not possible since some time on a regular device. This is for obvious privacy reason.

You can't either take a screenshot from background to read tha apps names:
https://stackoverflow.com/questions/57470063/how-to-take-a-screenshot-programmatically-if-the-app-is-running-in-background