I tried by changing the segment in the filter, but still giving duration for full day.
@State private var filter = DeviceActivityFilter(
segment: .daily(during: timeRange),
users: .all,
devices: .init([.iPhone, .iPad])
)
Is there any way to get the screen time duration of apps in IOS for specific time range?