Bug in Screen Time API: familyActivityPicker dismisses a presenting sheet on iOS 18.4 and above

Hello,

I’m presenting the familyActivityPicker from a presented sheet in my application.

When I select some apps, categories or websites and tap “Done”, the familyActivityPicker is dismissed but the presenting sheet is also dismissed on iOS 18.4, iOS 18.5, iOS 26 beta 1 and 2. If I tap on “Cancel” from the familyActivityPicker, the sheet is also dismissed on iOS 18.4, iOS 18.5, iOS 26 beta 1 and 2.

The same code works perfectly fine on iOS 18.0, iOS 18.1, iOS 18.2 and iOS 18.3.

Is this a known-issue?

If opened the feedback FB18369821 for this.

Regards, Axel

Have you tried what happens if you present a normal SwiftUI sheet from the sheet instead of the FamilyActivityPicker?

→ Does it lead to the same unexpected behavior? Then it’s likely a SwiftUI bug/

Otherwise, have you tried embedding the FamilyActivityPicker inside a SwiftUI view and present that instead? Does the unexpected behavior still reproduce?

Presenting a standard sheet works fine. Even if I present 10 sheets on top of the others, it never dismisses all at the same time.

Wrapping the FamilyActivityPicker inside a custom View and presenting with a sheet works fine.

Definitely an issue with the Screen Time API.

Bug in Screen Time API: familyActivityPicker dismisses a presenting sheet on iOS 18.4 and above
 
 
Q