@chuyue this can be achieved using DeviceActivityReport extension, is it possible that you can extract the data from DeviceActivityReport in your App, like bundle identifier, screen time, app logo etc?
Can you please check this question
Topic:
App & System Services
SubTopic:
General
Tags: