Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

PHPickerViewController No Auto Focus

The issue is, I cannot auto acquire bluetooth keyboard focus in PHPickerViewController after enabling 'Full Keyboard Access' in my IPhone 14 with iOS version 18.3.1. The keyboard focus in PHPickerViewController will show, however, after I tapped on the blank space of the PHPickerViewController. How to make the focus on at the first place then?

I'm using UINavigationController and calling setNavigationBarHidden(true, animated: false). Then I use this controller to present PHPickerViewController using some configuration setup below.

self.configuration = PHPickerConfiguration() configuration.filter = .any(of: filters) configuration.selectionLimit = selectionLimit if #available(iOS 15.0, *), allowOrdering { configuration.selection = .ordered } configuration.preferredAssetRepresentationMode = .current

Finally I set the delegate to PHPickerViewController and call UINavigationController.present(PHPickerViewController, animated: true) to render it.

Also I notice animation showing in first video then disappear.

Find the misaligned initial focus on newly appearing view

Hi, did you somehow manage to solve it? I'm struggling with a similar issue - I'm presenting a PHPickerViewController wrapped inside a UIViewControllerRepresentable from the SwiftUI view and the focus is missing (it looks like it still focusing the SwiftUI View below the sheet)

PHPickerViewController No Auto Focus
 
 
Q