get monthly screen time

it is possible to get app monthly activity in swift 5?

get monthly screen time
 
 
Q