How to Support Menu Bar Copy/Paste/Cut/Delete Commands on iPadOS with SwiftUI? (Xcode 26 beta 4, iPadOS 26 beta 4) We’re working on adding menu bar support to our SwiftUI app on iPadOS, aiming to provide a more consistent and productive experience across platforms. However, we’ve encountered a challenge when trying to handle standard editing commands like Copy, Cut, Paste, and Delete from the menu bar: On iPadOS, SwiftUI modifiers such as onCopyCommand, onCutCommand, onPasteCommand, and onDeleteCommand appear to be unavailable. Additionally, since we can’t hide or override the default app menus, we’re unsure how to hook into or replace their behavior effectively. Question: What’s the recommended way to support standard editing actions like copy/paste via the menu bar in SwiftUI on iPadOS? Are there any workarounds or APIs we might have overlooked? Any guidance or best practices would be greatly appreciated! Feedback ID: FB18792279
Search results for
iPadOS 17.7.7
3,648 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Thank you for responding! We'll look into your suggestion. Our app utilizes AppleArchive to back up and restore data via UIDocumentPickerViewController. We implemented the variant of UIDocumentPickerViewController that copies the archive file because we had the impression Apple recommended (or required) this variant when reading archives from an external drive. We requested Developer Technical Support in February 2025. At that time, we were told there was no workaround. In March 2025 we received a follow-up response from DTS, but it didn't point us in a worthwhile direction. As described in this thread, we filed FB16131472 back in December 2024 regarding iPadOS 18.2. We recently ran the sample code supplied with FB16131472 using iPadOS 18.6, and got the same incorrect results as in iPadOS 18.2. Should we file a separate bug report, or extend FB16131472 with iPadOS 18.6 info?
Topic:
UI Frameworks
SubTopic:
UIKit
Tags:
We confirmed this bug still exists in iPadOS 18.6. Bug number? It appears Apple has no interest in following their own Human Interface Guidelines regarding long load times: Yes, we make mistakes too. In this case, I think the issue is that UIDocumentPickerViewController is old enough that external storage wasn't really a factor and local APFS file cloning is so fast* that it's pointless to try and present any kind of progress. That was compounded by the fact that they started actively encouraging in-place manipulation (instead of copying) at the same time we introduced external storage, not to mention that external storage is still much less common than the local case. This is definitely a bug that we should address, but I suspect that background is why the bug has been missed for so long. *In my testing, NSFileManager.copyItems can clone ~3500 files/sec when duplicating files inside the same volume on an SSD. Having said all that, the workaround here is also straightforward— you can set asCopy to NO
Topic:
UI Frameworks
SubTopic:
UIKit
Tags:
MultiTasking >> how to disable multitasking window in code level on IpadOS 26.0 Beta Is there a way in app level we can disable multitasking window? force full-screen mode on iPad via API.
Topic:
UI Frameworks
SubTopic:
SwiftUI
MultiTasking >> how to disable multitasking window in code level on IpadOS 26.0 Beta Is there a way in app level we can disable multitasking window? force full-screen mode on iPad via API.
Topic:
UI Frameworks
SubTopic:
General
I've added some menus to the new (mac-like) menu bar on the iPad App under iPadOS 26, which is working fine. However if the main view controller covers the whole screen and shows a fullscreen Map (MKMapView), the menu bar has a dark gradient as a background, which makes it extremely difficult to see the menu. I guess the iPadOS tries to put a semi-transparent layer between the view controller and the menu bar to make sure that the content of the view controller doesn't interfere with with the menubar and the menu is easy to read. But when the view controller shows a map, the system seems to get the colors for this transparent layer wrong. Is it possible to solve this, or is this still a bug of iPad OS 26? Interestingly, when I create a screenshot of the screen, this dark gradient which makes the menu bar unreadably is not included in the screenshot. So in the screenshot the menu is easy to read. Only on the real device, the menu bar is almost unreadably
We confirmed this bug still exists in iPadOS 18.6. It appears Apple has no interest in following their own Human Interface Guidelines regarding long load times: https://developer.apple.com/design/human-interface-guidelines/loading# https://developer.apple.com/design/human-interface-guidelines/progress-indicators UIDocumentPickerViewController doesn't provide any UI feedback (eg., spinner or progress meter) while slowly copying the selected file from the USB drive, nor does UIDocumentPickerViewController disable the UI buttons after the selection. These two shortcomings result in this iOS framework bug.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags:
We confirmed this bug still exists in iPadOS 18.6.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags:
By default, a window on iPadOS 26 can be dragged by touching and dragging the top ~30 points of that window. If the window's root view controller is a UINavigationController with a navigation bar, the window can be dragged by touching and dragging anywhere in that navigation bar. In Apple Calendar, I can drag a window anywhere above the grid of weeks and days. I have an app with a custom navigation controller. My navigation controller is not a subclass of UINavigationController. How can I define what portion of the window should let the user drag that window across the screen on iPad?
After testing in our tech lab with all devices updated to iOS/iPadOS 18.6, I’m seeing improved behavior overall, but some inconsistencies remain, particularly with older hardware. On iPhone SE (18.6), the issue does not reproduce. Local network access from the extension works as expected. On iPad 10th gen (18.6), the issue is no longer observed. Notably, this device did occasionally fail on 18.5. On iPad 7th gen (18.6), behavior remains inconsistent. The extension is sometimes able to send local network traffic, but in other cases, it fails with the same “Local network prohibited” error. Success seems more likely after switching Wi-Fi networks or if the main app has already made a successful local connection beforehand, but this is not reliable or predictable. So while iPadOS 18.6 clearly improves the situation, it appears that residual issues may still affect older devices. I’ll be extending testing to 8th and 9th gen iPads on Monday and will share any additional findings. Let me know if th
Topic:
App & System Services
SubTopic:
Networking
Tags:
tried the usual vol up, vol dn, hold power button until apple logo, but that doesn’t work for me… just brings up siri. i was able to tell siri to restart the ipad, but not sure if that was a hard reboot.
Topic:
Community
SubTopic:
Apple Developers
I still see this issue, Im using Xcode beta 4, running test on iPad with iPadOS Developer Beta. I tried [self.tabBarController setTabBarHidden:true]; in viewWillAppear [self.tabBarController.tabBar setHidden:true]; in viewWillAppear [self.tabBarController setHidesBottomBarWhenPushed:true]; in parent view controller
Topic:
UI Frameworks
SubTopic:
UIKit
I have a device like a gas meter or an electricity meter and it has: an optical interface IEC 62056-21 (IEC-1107) with support for speeds up to 115,200 Bd. On Windows and Android, we use a cable that has an optical interface and on the other end we connect USB A to the PC and to the Android via an OTG to USB adapter. The cable contains a chip from FTDI FT230XQ. I have an application in MAUI where I want to connect this cable to the 10th generation iPad and communicate similarly to, for example, via the COM5 port on the PC. When the port opens, I send a query and get a response. Is it possible, what should I do for this? Yes, though the range of difficulty here is pretty broad. In terms of API support, it is technically possible to do this on iPadOS using DriverKit. However, the work involved is quite significant as it basically requires implementing a USB serial port driver in USBDriverKit, then implementing your own user client so that your app can communicate with the driver. I don't know what your
Topic:
App & System Services
SubTopic:
Core OS
The HIG contains some best practices when using modal presentations. Please review the documentation as a starting point. It’s subjective to the purpose of your app, but from a user’s perspective, you might want to consider either a TabView that adapts into a sidebar layout on iPadOS, macOS, and tvOS, or a NavigationStack.
Hi all, I am hope someone could assist me with the below error if you ever ran into this during Tap-to-Pay functionality integration on iOS/iPadOS devices. Pre-condition: I have received required entitlements for the Tap-to-Pay integration and created Sandbox test account to validate my development work. Used updated development profile with the new capabilities required for the Integration. When i try to test my flow, i keep receiving this error, with multiple sandbox accounts in developer portal. Error (refreshContext): proxy error handler [ Error Domain=NSCocoaErrorDomain Code=4099 The connection to service named com.apple.merchantd.transaction was invalidated: failed at lookup with error 159 - Sandbox restriction. UserInfo={NSDebugDescription=The connection to service named com.apple.merchantd.transaction was invalidated: failed at lookup with error 159 - Sandbox restriction.} ] I greatly appreciate if anyone faced this issue or any knowledge on how to address this error. Thanks in advance. Best