iPadOS 26 Disable "open recent"

How can I remove the "recents" section from long-pressing on my app icon?

I've added the following to my AppDelegate, which removes it from the top MenuBar, but not from the app icon context menu.

My app has registered a custom filetype, but it is not a document based app. Opening files imports them into the app's user library, and so does not make sense to have a "recents" list.

override func buildMenu(with builder: any UIMenuBuilder) {
        super.buildMenu(with: builder)
        builder.remove(menu: .openRecent)
}
Answered by pilotcoder in 854749022

I can reproduce this when the UISupportsDocumentBrowser plist entry is set to YES in the app’s Info.plist. If I remove that, the “Recents” section disappears from the icon long-press menu and the menu bar.

Since your app isn’t document-based, I’d check that this key isn’t inadvertently set in your Info.plist.

Accepted Answer

I can reproduce this when the UISupportsDocumentBrowser plist entry is set to YES in the app’s Info.plist. If I remove that, the “Recents” section disappears from the icon long-press menu and the menu bar.

Since your app isn’t document-based, I’d check that this key isn’t inadvertently set in your Info.plist.

iPadOS 26 Disable "open recent"
 
 
Q