Explore the various UI frameworks available for building app interfaces. Discuss the use cases for different frameworks, share best practices, and get help with specific framework-related questions.

All subtopics
Posts under UI Frameworks topic

Post

Replies

Boosts

Views

Activity

A Summary of the iPhone Duo Group Lab
Group Labs are a unique opportunity for the community to submit questions directly to a panel of Apple engineers and designers. Here are the highlights from the iPhone Duo Group Labs: How should apps preserve navigation and UI state when switching between the inner and outer displays? Treat display transitions as size-class and trait changes, not a scene disconnect or app termination; your process stays alive. For more information, see Prepare your app for iPhone Duo. For state that must survive a scene disconnect/reconnect, implement stateRestorationActivity(for:) to save an NSUserActivity Restoring your app's state. Do multiple instances of the same app on iPhone Duo share UserDefaults/@AppStorage state? Multiple instances of your app's UI on iPhone Duo behave similarly to multi-window support on iPadOS. To learn more, see Leverage multiple displays and scenes on iPhone Duo. Both UserDefaults and AppStorage are app-wide, not per-window, stores. If a full-screen app on the inner display is closed, does it move to the outer display or get backgrounded? iPhone Duo honors UIRequiresFullScreen and apps adapt in place as the device opens and closes rather than backgrounding. To learn more, watch Prepare your app for iPhone Duo. How should apps preserve state — text input, scroll position, video playback, camera sessions — during hinge angle transitions? For example, when a LazyVGrid's column count changes because the device folds, does SwiftUI preserve scroll position automatically, or should you use scrollPosition(id:)? The system generally preserves text input and scroll position automatically since hinge angle changes are represented as size-class and trait updates, not a scene disconnect or app termination. This applies even to cases like a LazyVGrid column-count change triggered by opening or closing the device — apps typically don't need to manually manage scroll position with scrollPosition(id:anchor:) for this transition. For more info, see Prepare your app for iPhone Duo. How can apps preserve what someone is doing when switching displays or folding/unfolding? Treat this as a resize/trait-change event, not app teardown — your process keeps running as size classes change. See Prepare your app for iPhone Duo to learn more. For scenes that actually disconnect and reconnect, implement stateRestorationActivity(for:) to save an NSUserActivity Restoring your app's state. How does actively playing video behave through the hinge angle animation? The system generally preserves video playback and player position automatically since hinge angle changes are represented as size-class and trait updates, not a scene disconnect or app termination. AVKit will scale and resize the video automatically. If a user folds or unfolds the device mid-checkout, what does the system preserve automatically, and what should the app manage itself to avoid lost input or duplicate requests? When someone opens or closes an iPhone Duo, the system represents this as a size-class and trait collection change, not a scene disconnect or app teardown, so in-memory state like input fields typically persists automatically since the app’s process keeps running. For more info, see Prepare your app for iPhone Duo. How should apps handle the keyboard and text input when the device folds or unfolds while typing? As iPhone Duo folds or unfolds, the available screen geometry and framing change. Ensure your app adopts standard layout controls, containers, and size classes to handle resizability gracefully across all poses. When a text field becomes first responder, the system automatically shows the keyboard and binds its input to the text field. Because the appearance of the keyboard has the potential to obscure portions of your user interface, you should update your interface as needed to ensure that the text field being edited remains visible. Use keyboard notifications such as keyboardWillShowNotification, keyboardWillHideNotification, and keyboardWillChangeFrameNotification to detect the appearance and disappearance of the keyboard and to make necessary changes to your interface layout. To learn more, see UITextField. If someone is typing and closes iPhone Duo, does the keyboard/editing session survive the hinge transition, or does it get a new scene? When a user types and closes iPhone Duo, the active editing session and keyboard do not get a completely new scene. Instead, the app undergoes a dynamic resizing and transitions from the inner display to the compact outer display, maintaining the existing scene and application state. For more info, watch Prepare your app for iPhone Duo.
16
0
7.7k
Sep ’26
iOS 27.3 beta crash: UISplitViewControllerClassicImpl childViewControllerForStatusBarAxis unrecognized selector (FB25484068)
Selecting a tab in a UITabBarController that contains a classic UISplitViewController crashes our shipped app on the main thread. The app was linked against an older SDK. The same binary works on iOS 27.2 on the same device. We reproduced the crash on iOS 27.3 beta 1 (24C5037i) and beta 2 v2 (24C5049f). Exception: NSInvalidArgumentException: -[UISplitViewControllerClassicImpl childViewControllerForStatusBarAxis]: unrecognized selector sent to instance The stack goes from UITabBarController.setSelectedIndex: through UINavigationController.viewDidMoveToWindow: and the split view controller’s safe-area calculation, then into UIWindow’s status-bar axis lookup. Crash logs for both beta builds are attached to Feedback Assistant report FB25484068. Is this a known UIKit regression in iOS 27.3?
Topic: UI Frameworks SubTopic: UIKit
0
0
13
1h
iPhone Duo side bar is empty after a full-screen modal closes, when a child UITabBarController is sized with Auto Layout
Hi, On iPhone Duo, the vertical tab bar (side bar) shows no tabs after a full-screen modal closes. This happens when the device opened while the modal showed. I filed it as FB25719774. Environment: Xcode 27.2, iPhone Duo simulator, iOS 27.2 (24B91016s). Setup: A container view controller holds a UITabBarController as a child. Auto Layout constraints pin the child view to the 4 edges of the container. override func viewDidLoad() { super.viewDidLoad() addChild(child) child.view.translatesAutoresizingMaskIntoConstraints = false view.addSubview(child.view) NSLayoutConstraint.activate([ child.view.topAnchor.constraint(equalTo: view.topAnchor), child.view.leadingAnchor.constraint(equalTo: view.leadingAnchor), child.view.trailingAnchor.constraint(equalTo: view.trailingAnchor), child.view.bottomAnchor.constraint(equalTo: view.bottomAnchor) ]) child.didMove(toParent: self) }Steps: Fold the device. The side bar shows 4 tabs. Present a view controller with modalPresentationStyle = .fullScreen. While the modal shows, open the device flat. Close the modal. Expected: The side bar shows the 4 tabs, as it did before the modal. Actual: The side bar is empty. The child gets the right frame one layout pass later. But the side bar stays empty, even though tabBar is not hidden and has a normal frame. Workaround: Size the child view with an autoresizing mask while the container is off the window: child.view.frame = view.bounds child.view.autoresizingMask = [.flexibleWidth, .flexibleHeight]However, we could not use the mask all the time. On iOS 17.5, it caused a second issue: after a rotation, a compositional layout inside the child kept the old size classes (FB25719805). So we turn on the mask only while the container is off the window. Related: FB25261013 (https://developer.apple.com/forums/thread/852478) shows the same empty side bar. There, the UITabBarController is added as a child with constraints while the Duo is open. In both cases, Auto Layout has not updated the child frame yet when UIKit sets up the side bar. Link to demo project here: https://transfer.it/t/jd07S2pjxb6A
0
0
56
10h
Vertical tab bar doesn't appear when tab bar controller is added to view controller while iPhone Duo is unfolded
Hi, I would like to share an issue with UITabBarController's vertical tab bar and iPhone Duo's unfolded pose. On iPhone Duo (27.2 beta 3), when tab bar controller is added to the view controller while in unfolded pose, the vertical tab bar doesn't appear unless the tab bar controller view's frame is set manually before adding it to the parent's view. Show any VC. Use unfolded Duo pose. After some time/on button press add a UITabBarController to it: (https://developer.apple.com/documentation/uikit/creating-a-custom-container-view-controller#Add-a-child-view-controller-programmatically-to-your-content) with Auto Layout constraints. Vertical tab bar does not appear. Fold and unfold the device. The tab bar appears. Expected: Tab bar appears after adding the UITabBarController in unfolded Duo pose. Actual: Tab bar does not appear after adding the UITabBarController in unfolded Duo pose. In Feedback Assistant report (FB25261013) I attached minimal reproduction example and recordings showing the different behavior in folded and unfolded poses and behavior with manual frame application fix (commented out in minimal reproduction example). Minimal reproduction example: // SceneDelegate.swift import UIKit class SceneDelegate: UIResponder, UIWindowSceneDelegate { var window: UIWindow? func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) { guard let windowScene = (scene as? UIWindowScene) else { return } window = UIWindow(windowScene: windowScene) window?.rootViewController = ViewController() window?.makeKeyAndVisible() } } // ViewController.swift import UIKit class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() view.backgroundColor = .systemBackground let button = UIButton(configuration: .filled(), primaryAction: UIAction(title: "Show Tab Bar Controller") { [weak self] _ in self?.showTabBarController() }) button.translatesAutoresizingMaskIntoConstraints = false view.addSubview(button) NSLayoutConstraint.activate([ button.centerXAnchor.constraint(equalTo: view.centerXAnchor), button.centerYAnchor.constraint(equalTo: view.centerYAnchor), ]) } private func showTabBarController() { let tabBarController = UITabBarController() tabBarController.tabs = ["First", "Second", "Third"].map { title in UITab(title: title, image: UIImage(systemName: "circle"), identifier: title) { _ in let viewController = UIViewController() viewController.view.backgroundColor = .systemBackground return viewController } } addChild(tabBarController) // Uncomment to show the tab bar on the unfolded iPhone Duo. tabBarController.view.frame = view.bounds view.addSubview(tabBarController.view) tabBarController.view.translatesAutoresizingMaskIntoConstraints = false NSLayoutConstraint.activate([ tabBarController.view.topAnchor.constraint(equalTo: view.topAnchor), tabBarController.view.bottomAnchor.constraint(equalTo: view.bottomAnchor), tabBarController.view.leadingAnchor.constraint(equalTo: view.leadingAnchor), tabBarController.view.trailingAnchor.constraint(equalTo: view.trailingAnchor), ]) tabBarController.didMove(toParent: self) } } Thank you in advance.
Topic: UI Frameworks SubTopic: UIKit Tags:
7
0
956
11h
iPhone Duo: Dual-display output and tent mode detection
I’m developing Foma, a design app with a full-screen gallery, and have two questions about iPhone Duo: In tent mode, can a third-party app show its gallery on the outer display while presenting noninteractive content on the inner display, without an active camera session? I tried ExternalNonInteractiveAccessory on a physical iPhone Duo running iOS 27.3 beta, but the inner display stayed dark. Is there a public API that detects tent mode directly? If not, does Apple recommend combining hinge angle with device orientation or gravity? Thanks!
1
0
142
21h
AppKit: identifying the completion of an input operation that started before Save
Suppose a macOS app uses the public AppKit text input system (NSTextInputContext and NSTextInputClient). Consider a hypothetical sequence within the same text input context and client: An IME input operation B starts before the app receives a Save action. Save is received before B has a known completion. Text input callbacks for B may be delivered after Save, and the user may initiate a separate input operation C after Save. Is there a supported public API or documented contract that lets the app identify the completion boundary and result of B, associate them with the pre-Save operation, and obtain the completed text for that Save without including independent post-Save input C? If such a guarantee exists, which public API or contract provides it, and under what conditions and macOS versions? If it does not, is this distinction and snapshot boundary not guaranteed by the public AppKit text input contract? This is a question about causal attribution and completion boundaries, not simply about committing or cancelling the current composition. It is a hypothetical API-contract question, not a report of a reproduced defect. I am not asking about private APIs.
Topic: UI Frameworks SubTopic: AppKit
0
0
50
22h
In iOS SwiftUI Document-based apps, how to show window of already opened document when trying to open the document a second time?
In a Document-based app, in SwiftUI (iOS 17), how to bring to front the window that shows an already open document, when trying to open the same document from the file browser, instead of opening a new window? This is to prevent opening the document twice and being able to edit it in 2 different editors. The official demo [1] does not handle this case. [1] https://developer.apple.com/documentation/swiftui/building_a_document-based_app_with_swiftui
2
0
784
1d
UINavigationController: pushViewController(animated: false) with hidesBottomBarWhenPushed makes the incoming view controller visibly resize from an undersized frame to full screen (iOS 27+)
Hi everyone, I believe I've found a behavior change (or regression) in iOS 27 around UINavigationController when pushing with animated: false to a view controller that sets hidesBottomBarWhenPushed = true. Observed behavior On iOS 27, the incoming view controller appears on screen at a size that still accounts for the tab bar, then expands to the full screen height on the next frame. Since there's no transition animation to mask it, the user sees the whole screen — including its background color — visibly "grow" into place. On iOS 18 and earlier the same code showed the destination view controller instantly at its final size, with no visible resize. That's why this only surfaced after upgrading the device to iOS 27. Minimal reproduction The destination view controller contains no subviews, no xib, no constraints and no layout code — only a background color. So this is unrelated to the content of the pushed screen. UITabBarController subclass with two tabs, each wrapped in a UINavigationController: final class MainTabBarController: UITabBarController { override func viewDidLoad() { super.viewDidLoad() tabBar.tintColor = .systemOrange viewControllers = [ makeNavigationController(root: ViewController(), title: "Home", image: UIImage(systemName: "house")), makeNavigationController(root: PlaceholderViewController(), title: "MENU", image: UIImage(systemName: "safari")), ] } private func makeNavigationController(root: UIViewController, title: String, image: UIImage?) -> UINavigationController { let nav = UINavigationController(rootViewController: root) let appearance = UINavigationBarAppearance() appearance.configureWithOpaqueBackground() appearance.backgroundColor = .white appearance.shadowColor = .clear nav.navigationBar.standardAppearance = appearance nav.navigationBar.scrollEdgeAppearance = appearance nav.tabBarItem = UITabBarItem(title: title, image: image, selectedImage: image) return nav } }ViewController (tab 1 root) — the trigger: class ViewController: UIViewController { private let pushButton: UIButton = { var config = UIButton.Configuration.filled() config.title = "Push" config.baseBackgroundColor = .systemOrange let button = UIButton(configuration: config) button.translatesAutoresizingMaskIntoConstraints = false return button }() override func viewDidLoad() { super.viewDidLoad() view.backgroundColor = .systemBackground title = "Home" view.addSubview(pushButton) pushButton.addTarget(self, action: #selector(didTapPushButton), for: .touchUpInside) NSLayoutConstraint.activate([ pushButton.centerXAnchor.constraint(equalTo: view.centerXAnchor), pushButton.centerYAnchor.constraint(equalTo: view.centerYAnchor), ]) } @objc private func didTapPushButton() { let vc = OrangeViewController() vc.hidesBottomBarWhenPushed = true // (1) navigationController?.pushViewController(vc, animated: false) // (2) } }OrangeViewController — the destination: final class OrangeViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() view.backgroundColor = .orange } }Steps to reproduce Run on an iOS 27 device or simulator. On the first tab, tap the "Push" button. The orange screen first appears with a height that excludes the tab bar, then expands to full screen on the next frame. What I've already ruled out Both conditions must be present: hidesBottomBarWhenPushedanimatedResulttruefalse❌ Visible resizetruetrue✅ Normal slide-in transitionfalsefalse✅ No visible resizeAdditional findings: The destination view controller has no subviews or constraints, so this isn't a layout problem in my own hierarchy. I also verified that the same resize occurs with a completely empty UIViewController created purely in code — the destination has no storyboard, nib, or constraints at all. Reproduces with a plain UITabBarController + UINavigationController setup — no custom transitions, no UINavigationControllerDelegate, no appearance customization beyond a plain opaque white nav bar. Reproduces on a fresh project created from Xcode's default template. Environment iOS 27.0 (24A434) — device and simulator Xcode 27.0 (27A266a) Fresh project, default template Questions Is pushViewController(animated: false) onto a view controller with hidesBottomBarWhenPushed = true still a supported combination on iOS 27? The behavior change makes me wonder whether this is intended (requiring a workaround on my side) or a regression. If it's a regression, what's the recommended way to perform an animation-less push into a tab-bar-hiding view controller without the intermediate undersized frame? I've tried loadViewIfNeeded() plus manually assigning view.frame before pushing, but I'd rather not depend on private layout timing. I noticed the new UIView.AnimationOptions.flushUpdates (iOS 26+) documentation about flushing pending layout when animation scopes change. Is this behavior change related? Should view controllers pushed without animation be using flushUpdates? Happy to attach the sample project and a screen recording — just let me know the preferred way to submit them. Thanks!
Topic: UI Frameworks SubTopic: UIKit Tags:
2
0
391
1d
iOS 27b3 SDK: iOS App on Mac crashes on UISearchBar focus
Our app crashes when compiled with the iOS 27 beta 3 SDK and run as an iOS app on Mac, on both macOS 26 and macOS 27, as soon as a UISearchBar receives focus. The crash is due to this exception: *** Assertion failure in BOOL _screenBasedFocusUnsupported(void)(), UIScreen.m:3.725 Accessing the focus system through UIScreen is no longer supported. ( 0 CoreFoundation 0x000000018bea31c0 __exceptionPreprocess + 176 1 libobjc.A.dylib 0x000000018b91e91c objc_exception_throw + 88 2 Foundation 0x000000018e092644 -[NSMutableDictionary(NSMutableDictionary) initWithContentsOfFile:] + 0 3 UIKitCore 0x00000001c5dae8ec _screenBasedFocusUnsupported + 272 4 UIKitCore 0x00000001c5dae960 -[UIScreen _preferredFocusedWindow] + 24 5 UIKitCore 0x00000001c4ea3a60 -[UIScreen _mainSceneReferenceBounds] + 200 6 UIKitCore 0x00000001c4ea3914 -[UIScreen _mainSceneBoundsForInterfaceOrientation:] + 40 7 UIKitCore 0x00000001c5708134 +[UINavigationBar defaultSizeForOrientation:] + 76 8 UIKitCore 0x00000001c6222c88 -[_UISearchPresentationController _layoutPresentationWithSize:transitionCoordinator:] + 704 9 UIKitCore 0x00000001c622296c -[_UISearchPresentationController containerViewWillLayoutSubviews] + 84 10 UIKitCore 0x00000001c549304c block_destroy_helper.13 + 25112 11 UIKitCore 0x00000001c549344c block_destroy_helper.13 + 26136 12 UIKitCore 0x00000001c4ea26a8 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1648 13 QuartzCore 0x0000000196103dbc _ZN2CA5Layer15perform_update_EPS0_P7CALayerjNS_17LayerUpdateReasonEPNS_11TransactionE + 460 14 QuartzCore 0x000000019610390c _ZN2CA5Layer17update_if_needed_EPNS_11TransactionENS_17LayerUpdateReasonE + 692 15 QuartzCore 0x0000000196035d2c _ZN2CA7Context18commit_transactionEPNS_11TransactionEdPd + 608 16 QuartzCore 0x0000000195e69520 _ZN2CA11Transaction6commitEv + 652 17 AppKit 0x0000000190fe116c __37+[NSDisplayCycle currentDisplayCycle]_block_invoke.7 + 44 18 CoreFoundation 0x000000018be34ad0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 28 19 CoreFoundation 0x000000018be34a10 __CFRunLoopDoBlocks + 396 20 CoreFoundation 0x000000018be33e54 __CFRunLoopRun + 2356 21 CoreFoundation 0x000000018bf06234 _CFRunLoopRunSpecificWithOptions + 532 22 HIToolbox 0x0000000198c1f560 RunCurrentEventLoopInMode + 320 23 HIToolbox 0x0000000198c228bc ReceiveNextEventCommon + 488 24 HIToolbox 0x0000000198dac14c _BlockUntilNextEventMatchingListInMode + 48 25 AppKit 0x00000001909163d0 _DPSBlockUntilNextEventMatchingListInMode + 228 26 AppKit 0x000000019026a084 _DPSNextEvent + 576 27 AppKit 0x0000000190dff96c -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 688 28 AppKit 0x0000000190dff678 -[NSApplication(NSEventRouting) nextEventMatchingMask:untilDate:inMode:dequeue:] + 72 29 AppKit 0x000000019025d13c -[NSApplication run] + 368 30 AppKit 0x00000001902357b0 NSApplicationMain + 880 31 AppKit 0x000000019047c958 +[NSWindow _savedFrameFromString:] + 0 32 UIKitMacHelper 0x00000001aa2651bc UINSApplicationMain + 972 33 UIKitCore 0x00000001c4e1aed4 UIApplicationMain + 144 34 UIKitCore 0x00000001c548bda0 block_destroy_helper.31 + 8880 35 DigitalConcertHall.debug.dylib 0x0000000106e41bd8 $sSo21UIApplicationDelegateP5UIKitE4mainyyFZ + 128 36 DigitalConcertHall.debug.dylib 0x0000000106e41b4c $s18DigitalConcertHall11AppDelegateC5$mainyyFZ + 32 37 DigitalConcertHall.debug.dylib 0x0000000106e4afc0 __debug_main_executable_dylib_entry_point + 28 38 dyld 0x000000018b9ac4e4 start + 6992 ) I could not test with the iOS 27 beta 4 SDK due to this blocking issue: https://developer.apple.com/forums/thread/839012 However, when I tried to set up a simple sample project, I could not reproduce the issue. Does anybody know what might be causing this? I filed feedback FB24201508
9
2
2.3k
1d
make search bar appear as bottom toolbar button on iPad? (UIKit)
In UIKit, I really like the layout convention on iPhone where the search bar appears as a button in the toolbar at the bottom of the screen, and the user can tap it to see the actual search bar, also at the bottom. viewController.navigationItem.searchBarPlacementAllowsToolbarIntegration = true viewController.navigationItem.preferredSearchBarPlacement = .integratedButton let spacer = UIBarButtonItem.flexibleSpace() let searchbarPlacer = viewController.navigationItem.searchBarPlacementBarButtonItem viewController.toolbarItems = [spacer, searchbarPlacer]However, on iPad I'm having trouble getting the same effect; the search button wants to appear at the top, in the navigation bar, even though I'm specifically asking it to appear at the bottom, in the toolbar. How do I get the same layout on iPad?
Topic: UI Frameworks SubTopic: UIKit Tags:
0
0
48
2d
UIBarButtonItem instances with custom views do not render correctly within the overflow menu of UIToolbar
var items: [UIBarButtonItem] = [] for i in 0...10 { let button = UIButton() button.setTitle("Hello \(i)", for: .normal) button.setTitleColor(.black, for: .normal) let item = UIBarButtonItem(customView: button) items.append(item) } self.setToolbarItems(items, animated: true)When a UIToolbar contains many items, an overflow button appears. If a bar button item is created with a custom view, it cannot be rendered properly in the overflow menu. However, if the item is created using an initializer such as UIBarButtonItem(image:style:target:action:) or UIBarButtonItem(title:style:target:action:), the overflow menu displays it correctly. Environment: iOS 27.0
Topic: UI Frameworks SubTopic: UIKit
0
0
24
2d
WKWebView shows a blank screen for about 30 seconds on first launch on iOS 27
After updating to iOS 27, I noticed a first-launch issue in several apps I developed that use WKWebView. Once the system launch screen disappears, the app shows a completely blank white screen for about 30 seconds before the web content appears. Subsequent launches are fast. I don’t see this delay when running the same app on iOS 26.x. I reproduced the issue on both a physical iPhone and the iOS 27.2 Simulator. It happens when loading a remote HTTPS URL and when displaying a minimal local HTML string with loadHTMLString(_:baseURL:). It also occurs with a default WKWebView configuration and no custom navigation delegate. On the physical iPhone, ContentView.onAppear ran about 0.75 seconds after the app’s initializer, yet the local HTML still took about 30 seconds to become visible. In one Simulator run, WebKit reported that WebContent took about 4 seconds to launch and then logged WebProcessProxy::didBecomeUnresponsive. I suspect a delay during WebKit initialization, but I haven’t established what accounts for the full wait. Has anyone reproduced this first-launch behavior on iOS 27? Is there a known WebKit issue, a specific iOS release that addresses it, or a supported workaround that reduces the delay on physical devices?
Topic: UI Frameworks SubTopic: General
0
0
237
4d
Persistent scroll stutter on iPhone 17 Pro Max, 18 Pro Max and 18 Pro (iOS 27.2), also on Apple Store demo units
Affected devices (all show the same problem): 1x iPhone 17 Pro Max 2x iPhone 18 Pro Max 1x iPhone 18 Pro Many demo iPhones at several Apple Stores Current iOS version: 27.2 Issue: Vertical scrolling inside apps frequently stutters and drops frames. It happens in many, many apps, including Apple's own App Store and Apple Store apps. During a normal flick-and-decelerate scroll, the content repeatedly freezes for one or more frames and then jumps forward. Because this reproduces on four of my own devices and on many Apple Store demo units, I believe it is a widespread, system-level issue, not a defect of a single device or my settings. Impact: I have been living with this for more than six months. I use my iPhone heavily every day, and the constant stutter has made using it genuinely distressing. Everything else about iPhone feels excellent, which makes this problem even harder to accept. Steps to reproduce: Open the App Store app (or almost any app with a scrolling list). Scroll with a normal flick and let it decelerate. Observe repeated hitches during the scroll. Measurements: I filmed the screen with a second iPhone at 4K 120 fps and measured content movement frame by frame: iPhone 18 Pro Max, third-party video feed: about 4 hitches per second of scrolling, about 4% of frames dropped, mostly single-frame drops. iPhone 18 Pro Max, third-party social app list: about 11 hitches per second, about 12% of frames dropped, at a regular rhythm every 6-8 frames. About a third of the stalls last 2-3 frames, and the content does not catch up afterwards. iPhone 17 Pro Max, third-party comment list: about 5 hitches per second, about 8% of frames dropped, including several full freezes of 50-75 ms. Expected: Smooth 120 Hz scrolling, as ProMotion is designed to deliver. Is Apple aware of this issue? I am happy to provide videos, frame-by-frame data, or sysdiagnose logs.
4
2
459
4d
Public API for the iPhone Duo inner-display glow in tent mode
Feature request: Public API for the iPhone Duo inner-display glow in tent mode I’d like a public API for the colored glow that the StandBy alarm casts onto the table in tent mode. It’s a subtle detail that would work well in other apps. The outer display could keep showing the app while the inner glow picks up a color from album artwork or shifts as a timer counts down. The private UIKitCore methods +[_UISceneCompanion _alarmGlowContent] and +[_UISceneCompanion _highlightCompanionWithColor:] point to the effect I mean. SpringBoard also defines SBCompanionScenePresentationModeInnerDisplayStandbyAlarmGlow. In SwiftUI, I could imagine using it like this: .sceneAccessory { InnerDisplayGlowAccessory(color: glowColor) }An optional intensity parameter would be nice, too. That would let apps keep the glow faint during playback or brighten it briefly when something changes, within brightness limits set by iOS.
0
0
117
4d
Document-based app always opens untitled document even when a document is restored
If my NSDocument.canConcurrentlyReadDocuments(ofType:) implementation returns true, often when launching the app, an untitled document is created regardless whether another document is restored. If document reading is not concurrent, an untitled document is only created when no other document is restored, as expected. The issue happens on most app launches when a document is restored. If the restored document takes long to load (which can be simulated by putting sleep(1) in the Document.read(from:ofType:) implementation), the issue always happens. Is this expected, or is there a workaround? I created FB25340015.
Topic: UI Frameworks SubTopic: AppKit Tags:
3
0
189
4d
Mac Catalyst: disabled SwiftUI toolbar buttons turn into pills and don’t update their state
Hi everyone, we’ve been fighting with disabled toolbar buttons in our Mac Catalyst app and wanted to check whether others are seeing the same thing, or whether we’re missing something. Our toolbar lives in a SwiftUI NavigationStack, so Catalyst bridges it into the window’s NSToolbar. Enabled buttons look and work great: native buttons with a round 36 × 36 pt glass. But as soon as a button uses .disabled(_:), things fall apart: It turns into a wider pill. A button that is disabled when it appears becomes an image item instead of a button (NSToolbarImageView with a UIImage), and its glass grows to 47 × 36 pt. Its state doesn’t update. Toggling .disabled(_:) doesn’t reach the existing toolbar item. It only changes if we give the ToolbarItem a new id, which then brings back the pill. Disabling the NSToolbarItem ourselves doesn’t stick. UIKit revalidates the toolbar whenever any item changes, and copies the bar button’s enabled state back over ours. Drawing our own image to fix the shape crashed AppKit (“Unable to install constraint on view”) as soon as the item switched back to enabled. For now we keep the SwiftUI button enabled on the Mac and disable the native NSToolbarItem ourselves. We find the toolbar via NSToolbar.willAddItemNotification and use KVO to put the state back whenever UIKit overrides it. It works, but it feels like it shouldn’t be necessary. Here’s a minimal example: struct ContentView: View { @State private var canUndo = false var body: some View { NavigationStack { Button("Toggle") { canUndo.toggle() } .toolbar { ToolbarItem(placement: .topBarLeading) { Button("Undo", systemImage: "arrow.uturn.backward") {} .labelStyle(.iconOnly) .disabled(!canUndo) } } } } }Seen on macOS 27.2 and 26.7.1, Xcode 27.2. Filed as FB25597608. Is there a supported way to get a disabled toolbar button that stays a normal native button? Any hints are very welcome. Thanks!
0
0
72
5d
SwiftUI TabView with a .prominent tab exhibits unexpected rendering behavior during iPhone Duo display transitions
Hi Apple Support Team, I would like to report an iPhone Duo-specific regression that appears in iOS 27.2.1. The same application behaves correctly on iOS 27.1, and I have been able to reproduce the issue consistently using a minimal sample application. When running the application on iPhone Duo, transitioning from the outer display to the inner display while the device is opened in landscape orientation results in unexpected UI rendering. Specifically, a large arc-shaped visual element associated with a tab configured with the .prominent role appears on screen after the transition. In addition to the rendering issue, we have observed unexpected UI presentation behavior during these display transitions when a tab is assigned the .prominent role. The issue appears to be tied to the .prominent tab role. When all tabs use the default role, the application behaves as expected and neither the rendering issue nor the unexpected UI behavior is observed. A sample application reproducing the issue is attached. Steps to Reproduce Launch the attached sample application on iPhone Duo running iOS 27.2.1. Ensure that one of the tabs is configured with the .prominent role. Start on the outer display. Open the device and transition to the inner display in landscape orientation. Observe the UI during and after the transition. Expected Result TabView should transition cleanly between the outer and inner displays without rendering artifacts or unexpected UI behavior. Actual Result A large arc-shaped visual artifact appears on screen. Unexpected view presentation behavior may occur during the display transition. Multiple animation- and transform-related warnings are logged. // Attached run time logs. Additional Notes Reproducible in both our production application and the attached sample application. The issue appears to be tied to SwiftUI TabView when a tab is assigned the .prominent role. The issue was not observed on iOS 27.1. The issue occurs during transitions between the outer and inner displays on iPhone Duo. Removing the .prominent role eliminates the issue. Could you please let us know whether this is a known issue with SwiftUI TabView and .prominent tabs during iPhone Duo display transitions on iOS 27.2.1? If there is an existing Feedback report, Apple Developer Forums discussion, internal tracking issue, or recommended workaround, we would greatly appreciate any guidance. Screenshots and a sample project are attached. Thank you for your time and assistance. Please let me know if any additional diagnostics, sysdiagnose captures, logs, or sample projects would be helpful. Best regards, Manish
1
0
217
5d
Can a CGVirtualDisplay-based display receive direct touch in macOS 27 (Touch on Mac)?
We ship a macOS app that creates a virtual display with CGVirtualDisplay and streams it to a tablet, which acts as a second screen. Today we deliver the tablet's touches as mouse events (CGEvent), so the system sees a pointer, not touch. With Touch on Mac in macOS 27, we would like the system to treat that display as touch-capable, the way it does for an iPad connected with Sidecar: Can a display created with CGVirtualDisplay report touch capability (NSScreen.touchCapabilities including .multiTouch) and receive direct touches? If not directly, is a virtual HID digitizer (DriverKit or CoreHID) associated with the display's UUID the supported path? Is the com.apple.developer.hid.virtual.device entitlement available for this use? If neither is supported today, what is the recommended way to deliver touch input to a virtual display without mouse emulation? We asked this in the Touch on Mac Group Lab on 20 November and were directed here. Thank you.
0
0
177
5d
Regression: AxisValueLabel multiLabelAlignment parameter ignored in iOS 27
Hello Apple SwiftUI / Swift Charts Engineering Team, I am writing to report a layout regression regarding Swift Charts in iOS 27. The multiLabelAlignment property on AxisValueLabel has stopped working as expected, whereas it functions perfectly in iOS 26. Bug Description: When configuring custom string values within AxisMarks using AxisValueLabel with multiLabelAlignment: .trailing, the alignment configuration is completely ignored on iOS 27. Labels fail to align text properly to the trailing edge, causing rendering layout issues for multi-line or custom text labels on the Y-axis. This exact same implementation compiles and aligns correctly on iOS 26. Code Snippet to Reproduce: swift struct YAxisAlignmentBugView: View { // data points to render the chart frame let data = [(date: Date(), revenue: 3000.0), (date: Date().addingTimeInterval(10000), revenue: 4000.0)] var body: some View { Chart(data, id: .date) { item in LineMark(x: .value("Date", item.date), y: .value("Revenue", item.revenue)) } .frame(height: 300) .padding() .chartYAxis { AxisMarks(preset: .aligned, position: .trailing, values: [12.0, 600.0, 3000.0, 6000.0]) { value in if let revenue = value.as(Double.self) { // BUG: multiLabelAlignment: .trailing is completely ignored on iOS 27 AxisValueLabel("y-(Int(revenue))", anchor: .leading, multiLabelAlignment: .trailing) } } } } } Steps to Reproduce: Render a Swift Chart containing a .chartYAxis configuration with position: .trailing. Pass a string directly using AxisValueLabel(customText, anchor: .leading, multiLabelAlignment: .trailing). Run the application on an iOS 26 simulator (text aligns properly to the trailing edge). Run the identical application code on an iOS 27 simulator. Expected Behavior: The text inside the AxisValueLabel should honor the multiLabelAlignment: .trailing parameter and align the text strings flush right. Actual Behavior: The multiLabelAlignment layout modifier is ignored on iOS 27, resulting in unexpected default left-alignment of the text strings. Attachments: I have attached screenshots from the Xcode Simulator demonstrating the regression: Please let me know if you need any further diagnostic details. Best regards, Soumyajit Das
3
0
376
5d
Regression: AxisValueLabel anchor parameter ignores .topLeading on iOS 27
Hello Apple SwiftUI / Swift Charts Engineering Team, I am writing to report a layout regression regarding Swift Charts in iOS 27. The anchor property on AxisValueLabel has stopped honoring the .topLeading layout coordinate, whereas it functions perfectly in iOS 26. Bug Description: To prevent the first label on a bottom X-axis from clipping past the left screen edge, a .topLeading anchor is applied. In iOS 27, this specific anchor alignment is completely ignored. The chart falls back to a standard top-center alignment, causing the initial boundary label to clip off-screen. Core Code Snippet to Reproduce: struct XAxisAnchorBugView: View { let dates = [ Calendar.current.date(from: DateComponents(year: 2026, month: 10, day: 1))!, Calendar.current.date(from: DateComponents(year: 2026, month: 10, day: 2))! ] var body: some View { Chart(dates, id: .self) { date in LineMark(x: .value("Date", date), y: .value("Value", 100)) } .frame(height: 300) .padding() .chartXAxis { AxisMarks(preset: .aligned, position: .bottom, values: .stride(by: .day, count: 1)) { value in AxisTick() let currentAnchor: UnitPoint = { guard let currentDate = value.as(Date.self) else { return .top } // BUG: .topLeading layout anchor parameter is completely ignored on iOS 27 return (currentDate == dates.first) ? .topLeading : .top }() AxisValueLabel(format: .dateTime.month(.abbreviated).day(), anchor: currentAnchor) } } } } Steps to Reproduce: Render an X-axis with a .bottom position. Assign anchor: .topLeading strictly to the first axis element's label. Run on an iOS 26 simulator (the first label anchors its top-left corner correctly, preventing edge clipping). Run on an iOS 27 simulator (the .topLeading anchor is ignored, reverting to standard top-center alignment). Expected Behavior: AxisValueLabel should position its layout bounding box using the .topLeading anchor point when specified. Actual Behavior: The layout engine ignores the .topLeading parameter on iOS 27, causing the boundary text to shift left and clip. Attachments: I have attached Xcode Simulator screenshots demonstrating this regression: Best regards, Soumyajit Das
3
0
406
5d
How to handle all the core AppleEvents
Glancing through the APIs, SwiftUI can handle the open app, reopen app, open doc, and quit core events (with the “aevt” suite ID). What about the print doc and open content events? If there are no hooks (yet), how can I implement them the traditional way without clashing with SwiftUI?
2
0
845
5d
A Summary of the iPhone Duo Group Lab
Group Labs are a unique opportunity for the community to submit questions directly to a panel of Apple engineers and designers. Here are the highlights from the iPhone Duo Group Labs: How should apps preserve navigation and UI state when switching between the inner and outer displays? Treat display transitions as size-class and trait changes, not a scene disconnect or app termination; your process stays alive. For more information, see Prepare your app for iPhone Duo. For state that must survive a scene disconnect/reconnect, implement stateRestorationActivity(for:) to save an NSUserActivity Restoring your app's state. Do multiple instances of the same app on iPhone Duo share UserDefaults/@AppStorage state? Multiple instances of your app's UI on iPhone Duo behave similarly to multi-window support on iPadOS. To learn more, see Leverage multiple displays and scenes on iPhone Duo. Both UserDefaults and AppStorage are app-wide, not per-window, stores. If a full-screen app on the inner display is closed, does it move to the outer display or get backgrounded? iPhone Duo honors UIRequiresFullScreen and apps adapt in place as the device opens and closes rather than backgrounding. To learn more, watch Prepare your app for iPhone Duo. How should apps preserve state — text input, scroll position, video playback, camera sessions — during hinge angle transitions? For example, when a LazyVGrid's column count changes because the device folds, does SwiftUI preserve scroll position automatically, or should you use scrollPosition(id:)? The system generally preserves text input and scroll position automatically since hinge angle changes are represented as size-class and trait updates, not a scene disconnect or app termination. This applies even to cases like a LazyVGrid column-count change triggered by opening or closing the device — apps typically don't need to manually manage scroll position with scrollPosition(id:anchor:) for this transition. For more info, see Prepare your app for iPhone Duo. How can apps preserve what someone is doing when switching displays or folding/unfolding? Treat this as a resize/trait-change event, not app teardown — your process keeps running as size classes change. See Prepare your app for iPhone Duo to learn more. For scenes that actually disconnect and reconnect, implement stateRestorationActivity(for:) to save an NSUserActivity Restoring your app's state. How does actively playing video behave through the hinge angle animation? The system generally preserves video playback and player position automatically since hinge angle changes are represented as size-class and trait updates, not a scene disconnect or app termination. AVKit will scale and resize the video automatically. If a user folds or unfolds the device mid-checkout, what does the system preserve automatically, and what should the app manage itself to avoid lost input or duplicate requests? When someone opens or closes an iPhone Duo, the system represents this as a size-class and trait collection change, not a scene disconnect or app teardown, so in-memory state like input fields typically persists automatically since the app’s process keeps running. For more info, see Prepare your app for iPhone Duo. How should apps handle the keyboard and text input when the device folds or unfolds while typing? As iPhone Duo folds or unfolds, the available screen geometry and framing change. Ensure your app adopts standard layout controls, containers, and size classes to handle resizability gracefully across all poses. When a text field becomes first responder, the system automatically shows the keyboard and binds its input to the text field. Because the appearance of the keyboard has the potential to obscure portions of your user interface, you should update your interface as needed to ensure that the text field being edited remains visible. Use keyboard notifications such as keyboardWillShowNotification, keyboardWillHideNotification, and keyboardWillChangeFrameNotification to detect the appearance and disappearance of the keyboard and to make necessary changes to your interface layout. To learn more, see UITextField. If someone is typing and closes iPhone Duo, does the keyboard/editing session survive the hinge transition, or does it get a new scene? When a user types and closes iPhone Duo, the active editing session and keyboard do not get a completely new scene. Instead, the app undergoes a dynamic resizing and transitions from the inner display to the compact outer display, maintaining the existing scene and application state. For more info, watch Prepare your app for iPhone Duo.
Replies
16
Boosts
0
Views
7.7k
Activity
Sep ’26
iOS 27.3 beta crash: UISplitViewControllerClassicImpl childViewControllerForStatusBarAxis unrecognized selector (FB25484068)
Selecting a tab in a UITabBarController that contains a classic UISplitViewController crashes our shipped app on the main thread. The app was linked against an older SDK. The same binary works on iOS 27.2 on the same device. We reproduced the crash on iOS 27.3 beta 1 (24C5037i) and beta 2 v2 (24C5049f). Exception: NSInvalidArgumentException: -[UISplitViewControllerClassicImpl childViewControllerForStatusBarAxis]: unrecognized selector sent to instance The stack goes from UITabBarController.setSelectedIndex: through UINavigationController.viewDidMoveToWindow: and the split view controller’s safe-area calculation, then into UIWindow’s status-bar axis lookup. Crash logs for both beta builds are attached to Feedback Assistant report FB25484068. Is this a known UIKit regression in iOS 27.3?
Topic: UI Frameworks SubTopic: UIKit
Replies
0
Boosts
0
Views
13
Activity
1h
iPhone Duo side bar is empty after a full-screen modal closes, when a child UITabBarController is sized with Auto Layout
Hi, On iPhone Duo, the vertical tab bar (side bar) shows no tabs after a full-screen modal closes. This happens when the device opened while the modal showed. I filed it as FB25719774. Environment: Xcode 27.2, iPhone Duo simulator, iOS 27.2 (24B91016s). Setup: A container view controller holds a UITabBarController as a child. Auto Layout constraints pin the child view to the 4 edges of the container. override func viewDidLoad() { super.viewDidLoad() addChild(child) child.view.translatesAutoresizingMaskIntoConstraints = false view.addSubview(child.view) NSLayoutConstraint.activate([ child.view.topAnchor.constraint(equalTo: view.topAnchor), child.view.leadingAnchor.constraint(equalTo: view.leadingAnchor), child.view.trailingAnchor.constraint(equalTo: view.trailingAnchor), child.view.bottomAnchor.constraint(equalTo: view.bottomAnchor) ]) child.didMove(toParent: self) }Steps: Fold the device. The side bar shows 4 tabs. Present a view controller with modalPresentationStyle = .fullScreen. While the modal shows, open the device flat. Close the modal. Expected: The side bar shows the 4 tabs, as it did before the modal. Actual: The side bar is empty. The child gets the right frame one layout pass later. But the side bar stays empty, even though tabBar is not hidden and has a normal frame. Workaround: Size the child view with an autoresizing mask while the container is off the window: child.view.frame = view.bounds child.view.autoresizingMask = [.flexibleWidth, .flexibleHeight]However, we could not use the mask all the time. On iOS 17.5, it caused a second issue: after a rotation, a compositional layout inside the child kept the old size classes (FB25719805). So we turn on the mask only while the container is off the window. Related: FB25261013 (https://developer.apple.com/forums/thread/852478) shows the same empty side bar. There, the UITabBarController is added as a child with constraints while the Duo is open. In both cases, Auto Layout has not updated the child frame yet when UIKit sets up the side bar. Link to demo project here: https://transfer.it/t/jd07S2pjxb6A
Replies
0
Boosts
0
Views
56
Activity
10h
Vertical tab bar doesn't appear when tab bar controller is added to view controller while iPhone Duo is unfolded
Hi, I would like to share an issue with UITabBarController's vertical tab bar and iPhone Duo's unfolded pose. On iPhone Duo (27.2 beta 3), when tab bar controller is added to the view controller while in unfolded pose, the vertical tab bar doesn't appear unless the tab bar controller view's frame is set manually before adding it to the parent's view. Show any VC. Use unfolded Duo pose. After some time/on button press add a UITabBarController to it: (https://developer.apple.com/documentation/uikit/creating-a-custom-container-view-controller#Add-a-child-view-controller-programmatically-to-your-content) with Auto Layout constraints. Vertical tab bar does not appear. Fold and unfold the device. The tab bar appears. Expected: Tab bar appears after adding the UITabBarController in unfolded Duo pose. Actual: Tab bar does not appear after adding the UITabBarController in unfolded Duo pose. In Feedback Assistant report (FB25261013) I attached minimal reproduction example and recordings showing the different behavior in folded and unfolded poses and behavior with manual frame application fix (commented out in minimal reproduction example). Minimal reproduction example: // SceneDelegate.swift import UIKit class SceneDelegate: UIResponder, UIWindowSceneDelegate { var window: UIWindow? func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) { guard let windowScene = (scene as? UIWindowScene) else { return } window = UIWindow(windowScene: windowScene) window?.rootViewController = ViewController() window?.makeKeyAndVisible() } } // ViewController.swift import UIKit class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() view.backgroundColor = .systemBackground let button = UIButton(configuration: .filled(), primaryAction: UIAction(title: "Show Tab Bar Controller") { [weak self] _ in self?.showTabBarController() }) button.translatesAutoresizingMaskIntoConstraints = false view.addSubview(button) NSLayoutConstraint.activate([ button.centerXAnchor.constraint(equalTo: view.centerXAnchor), button.centerYAnchor.constraint(equalTo: view.centerYAnchor), ]) } private func showTabBarController() { let tabBarController = UITabBarController() tabBarController.tabs = ["First", "Second", "Third"].map { title in UITab(title: title, image: UIImage(systemName: "circle"), identifier: title) { _ in let viewController = UIViewController() viewController.view.backgroundColor = .systemBackground return viewController } } addChild(tabBarController) // Uncomment to show the tab bar on the unfolded iPhone Duo. tabBarController.view.frame = view.bounds view.addSubview(tabBarController.view) tabBarController.view.translatesAutoresizingMaskIntoConstraints = false NSLayoutConstraint.activate([ tabBarController.view.topAnchor.constraint(equalTo: view.topAnchor), tabBarController.view.bottomAnchor.constraint(equalTo: view.bottomAnchor), tabBarController.view.leadingAnchor.constraint(equalTo: view.leadingAnchor), tabBarController.view.trailingAnchor.constraint(equalTo: view.trailingAnchor), ]) tabBarController.didMove(toParent: self) } } Thank you in advance.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
7
Boosts
0
Views
956
Activity
11h
iPhone Duo: Dual-display output and tent mode detection
I’m developing Foma, a design app with a full-screen gallery, and have two questions about iPhone Duo: In tent mode, can a third-party app show its gallery on the outer display while presenting noninteractive content on the inner display, without an active camera session? I tried ExternalNonInteractiveAccessory on a physical iPhone Duo running iOS 27.3 beta, but the inner display stayed dark. Is there a public API that detects tent mode directly? If not, does Apple recommend combining hinge angle with device orientation or gravity? Thanks!
Replies
1
Boosts
0
Views
142
Activity
21h
AppKit: identifying the completion of an input operation that started before Save
Suppose a macOS app uses the public AppKit text input system (NSTextInputContext and NSTextInputClient). Consider a hypothetical sequence within the same text input context and client: An IME input operation B starts before the app receives a Save action. Save is received before B has a known completion. Text input callbacks for B may be delivered after Save, and the user may initiate a separate input operation C after Save. Is there a supported public API or documented contract that lets the app identify the completion boundary and result of B, associate them with the pre-Save operation, and obtain the completed text for that Save without including independent post-Save input C? If such a guarantee exists, which public API or contract provides it, and under what conditions and macOS versions? If it does not, is this distinction and snapshot boundary not guaranteed by the public AppKit text input contract? This is a question about causal attribution and completion boundaries, not simply about committing or cancelling the current composition. It is a hypothetical API-contract question, not a report of a reproduced defect. I am not asking about private APIs.
Topic: UI Frameworks SubTopic: AppKit
Replies
0
Boosts
0
Views
50
Activity
22h
In iOS SwiftUI Document-based apps, how to show window of already opened document when trying to open the document a second time?
In a Document-based app, in SwiftUI (iOS 17), how to bring to front the window that shows an already open document, when trying to open the same document from the file browser, instead of opening a new window? This is to prevent opening the document twice and being able to edit it in 2 different editors. The official demo [1] does not handle this case. [1] https://developer.apple.com/documentation/swiftui/building_a_document-based_app_with_swiftui
Replies
2
Boosts
0
Views
784
Activity
1d
UINavigationController: pushViewController(animated: false) with hidesBottomBarWhenPushed makes the incoming view controller visibly resize from an undersized frame to full screen (iOS 27+)
Hi everyone, I believe I've found a behavior change (or regression) in iOS 27 around UINavigationController when pushing with animated: false to a view controller that sets hidesBottomBarWhenPushed = true. Observed behavior On iOS 27, the incoming view controller appears on screen at a size that still accounts for the tab bar, then expands to the full screen height on the next frame. Since there's no transition animation to mask it, the user sees the whole screen — including its background color — visibly "grow" into place. On iOS 18 and earlier the same code showed the destination view controller instantly at its final size, with no visible resize. That's why this only surfaced after upgrading the device to iOS 27. Minimal reproduction The destination view controller contains no subviews, no xib, no constraints and no layout code — only a background color. So this is unrelated to the content of the pushed screen. UITabBarController subclass with two tabs, each wrapped in a UINavigationController: final class MainTabBarController: UITabBarController { override func viewDidLoad() { super.viewDidLoad() tabBar.tintColor = .systemOrange viewControllers = [ makeNavigationController(root: ViewController(), title: "Home", image: UIImage(systemName: "house")), makeNavigationController(root: PlaceholderViewController(), title: "MENU", image: UIImage(systemName: "safari")), ] } private func makeNavigationController(root: UIViewController, title: String, image: UIImage?) -> UINavigationController { let nav = UINavigationController(rootViewController: root) let appearance = UINavigationBarAppearance() appearance.configureWithOpaqueBackground() appearance.backgroundColor = .white appearance.shadowColor = .clear nav.navigationBar.standardAppearance = appearance nav.navigationBar.scrollEdgeAppearance = appearance nav.tabBarItem = UITabBarItem(title: title, image: image, selectedImage: image) return nav } }ViewController (tab 1 root) — the trigger: class ViewController: UIViewController { private let pushButton: UIButton = { var config = UIButton.Configuration.filled() config.title = "Push" config.baseBackgroundColor = .systemOrange let button = UIButton(configuration: config) button.translatesAutoresizingMaskIntoConstraints = false return button }() override func viewDidLoad() { super.viewDidLoad() view.backgroundColor = .systemBackground title = "Home" view.addSubview(pushButton) pushButton.addTarget(self, action: #selector(didTapPushButton), for: .touchUpInside) NSLayoutConstraint.activate([ pushButton.centerXAnchor.constraint(equalTo: view.centerXAnchor), pushButton.centerYAnchor.constraint(equalTo: view.centerYAnchor), ]) } @objc private func didTapPushButton() { let vc = OrangeViewController() vc.hidesBottomBarWhenPushed = true // (1) navigationController?.pushViewController(vc, animated: false) // (2) } }OrangeViewController — the destination: final class OrangeViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() view.backgroundColor = .orange } }Steps to reproduce Run on an iOS 27 device or simulator. On the first tab, tap the "Push" button. The orange screen first appears with a height that excludes the tab bar, then expands to full screen on the next frame. What I've already ruled out Both conditions must be present: hidesBottomBarWhenPushedanimatedResulttruefalse❌ Visible resizetruetrue✅ Normal slide-in transitionfalsefalse✅ No visible resizeAdditional findings: The destination view controller has no subviews or constraints, so this isn't a layout problem in my own hierarchy. I also verified that the same resize occurs with a completely empty UIViewController created purely in code — the destination has no storyboard, nib, or constraints at all. Reproduces with a plain UITabBarController + UINavigationController setup — no custom transitions, no UINavigationControllerDelegate, no appearance customization beyond a plain opaque white nav bar. Reproduces on a fresh project created from Xcode's default template. Environment iOS 27.0 (24A434) — device and simulator Xcode 27.0 (27A266a) Fresh project, default template Questions Is pushViewController(animated: false) onto a view controller with hidesBottomBarWhenPushed = true still a supported combination on iOS 27? The behavior change makes me wonder whether this is intended (requiring a workaround on my side) or a regression. If it's a regression, what's the recommended way to perform an animation-less push into a tab-bar-hiding view controller without the intermediate undersized frame? I've tried loadViewIfNeeded() plus manually assigning view.frame before pushing, but I'd rather not depend on private layout timing. I noticed the new UIView.AnimationOptions.flushUpdates (iOS 26+) documentation about flushing pending layout when animation scopes change. Is this behavior change related? Should view controllers pushed without animation be using flushUpdates? Happy to attach the sample project and a screen recording — just let me know the preferred way to submit them. Thanks!
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
2
Boosts
0
Views
391
Activity
1d
iOS 27b3 SDK: iOS App on Mac crashes on UISearchBar focus
Our app crashes when compiled with the iOS 27 beta 3 SDK and run as an iOS app on Mac, on both macOS 26 and macOS 27, as soon as a UISearchBar receives focus. The crash is due to this exception: *** Assertion failure in BOOL _screenBasedFocusUnsupported(void)(), UIScreen.m:3.725 Accessing the focus system through UIScreen is no longer supported. ( 0 CoreFoundation 0x000000018bea31c0 __exceptionPreprocess + 176 1 libobjc.A.dylib 0x000000018b91e91c objc_exception_throw + 88 2 Foundation 0x000000018e092644 -[NSMutableDictionary(NSMutableDictionary) initWithContentsOfFile:] + 0 3 UIKitCore 0x00000001c5dae8ec _screenBasedFocusUnsupported + 272 4 UIKitCore 0x00000001c5dae960 -[UIScreen _preferredFocusedWindow] + 24 5 UIKitCore 0x00000001c4ea3a60 -[UIScreen _mainSceneReferenceBounds] + 200 6 UIKitCore 0x00000001c4ea3914 -[UIScreen _mainSceneBoundsForInterfaceOrientation:] + 40 7 UIKitCore 0x00000001c5708134 +[UINavigationBar defaultSizeForOrientation:] + 76 8 UIKitCore 0x00000001c6222c88 -[_UISearchPresentationController _layoutPresentationWithSize:transitionCoordinator:] + 704 9 UIKitCore 0x00000001c622296c -[_UISearchPresentationController containerViewWillLayoutSubviews] + 84 10 UIKitCore 0x00000001c549304c block_destroy_helper.13 + 25112 11 UIKitCore 0x00000001c549344c block_destroy_helper.13 + 26136 12 UIKitCore 0x00000001c4ea26a8 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1648 13 QuartzCore 0x0000000196103dbc _ZN2CA5Layer15perform_update_EPS0_P7CALayerjNS_17LayerUpdateReasonEPNS_11TransactionE + 460 14 QuartzCore 0x000000019610390c _ZN2CA5Layer17update_if_needed_EPNS_11TransactionENS_17LayerUpdateReasonE + 692 15 QuartzCore 0x0000000196035d2c _ZN2CA7Context18commit_transactionEPNS_11TransactionEdPd + 608 16 QuartzCore 0x0000000195e69520 _ZN2CA11Transaction6commitEv + 652 17 AppKit 0x0000000190fe116c __37+[NSDisplayCycle currentDisplayCycle]_block_invoke.7 + 44 18 CoreFoundation 0x000000018be34ad0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 28 19 CoreFoundation 0x000000018be34a10 __CFRunLoopDoBlocks + 396 20 CoreFoundation 0x000000018be33e54 __CFRunLoopRun + 2356 21 CoreFoundation 0x000000018bf06234 _CFRunLoopRunSpecificWithOptions + 532 22 HIToolbox 0x0000000198c1f560 RunCurrentEventLoopInMode + 320 23 HIToolbox 0x0000000198c228bc ReceiveNextEventCommon + 488 24 HIToolbox 0x0000000198dac14c _BlockUntilNextEventMatchingListInMode + 48 25 AppKit 0x00000001909163d0 _DPSBlockUntilNextEventMatchingListInMode + 228 26 AppKit 0x000000019026a084 _DPSNextEvent + 576 27 AppKit 0x0000000190dff96c -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 688 28 AppKit 0x0000000190dff678 -[NSApplication(NSEventRouting) nextEventMatchingMask:untilDate:inMode:dequeue:] + 72 29 AppKit 0x000000019025d13c -[NSApplication run] + 368 30 AppKit 0x00000001902357b0 NSApplicationMain + 880 31 AppKit 0x000000019047c958 +[NSWindow _savedFrameFromString:] + 0 32 UIKitMacHelper 0x00000001aa2651bc UINSApplicationMain + 972 33 UIKitCore 0x00000001c4e1aed4 UIApplicationMain + 144 34 UIKitCore 0x00000001c548bda0 block_destroy_helper.31 + 8880 35 DigitalConcertHall.debug.dylib 0x0000000106e41bd8 $sSo21UIApplicationDelegateP5UIKitE4mainyyFZ + 128 36 DigitalConcertHall.debug.dylib 0x0000000106e41b4c $s18DigitalConcertHall11AppDelegateC5$mainyyFZ + 32 37 DigitalConcertHall.debug.dylib 0x0000000106e4afc0 __debug_main_executable_dylib_entry_point + 28 38 dyld 0x000000018b9ac4e4 start + 6992 ) I could not test with the iOS 27 beta 4 SDK due to this blocking issue: https://developer.apple.com/forums/thread/839012 However, when I tried to set up a simple sample project, I could not reproduce the issue. Does anybody know what might be causing this? I filed feedback FB24201508
Replies
9
Boosts
2
Views
2.3k
Activity
1d
make search bar appear as bottom toolbar button on iPad? (UIKit)
In UIKit, I really like the layout convention on iPhone where the search bar appears as a button in the toolbar at the bottom of the screen, and the user can tap it to see the actual search bar, also at the bottom. viewController.navigationItem.searchBarPlacementAllowsToolbarIntegration = true viewController.navigationItem.preferredSearchBarPlacement = .integratedButton let spacer = UIBarButtonItem.flexibleSpace() let searchbarPlacer = viewController.navigationItem.searchBarPlacementBarButtonItem viewController.toolbarItems = [spacer, searchbarPlacer]However, on iPad I'm having trouble getting the same effect; the search button wants to appear at the top, in the navigation bar, even though I'm specifically asking it to appear at the bottom, in the toolbar. How do I get the same layout on iPad?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
0
Boosts
0
Views
48
Activity
2d
UIBarButtonItem instances with custom views do not render correctly within the overflow menu of UIToolbar
var items: [UIBarButtonItem] = [] for i in 0...10 { let button = UIButton() button.setTitle("Hello \(i)", for: .normal) button.setTitleColor(.black, for: .normal) let item = UIBarButtonItem(customView: button) items.append(item) } self.setToolbarItems(items, animated: true)When a UIToolbar contains many items, an overflow button appears. If a bar button item is created with a custom view, it cannot be rendered properly in the overflow menu. However, if the item is created using an initializer such as UIBarButtonItem(image:style:target:action:) or UIBarButtonItem(title:style:target:action:), the overflow menu displays it correctly. Environment: iOS 27.0
Topic: UI Frameworks SubTopic: UIKit
Replies
0
Boosts
0
Views
24
Activity
2d
WKWebView shows a blank screen for about 30 seconds on first launch on iOS 27
After updating to iOS 27, I noticed a first-launch issue in several apps I developed that use WKWebView. Once the system launch screen disappears, the app shows a completely blank white screen for about 30 seconds before the web content appears. Subsequent launches are fast. I don’t see this delay when running the same app on iOS 26.x. I reproduced the issue on both a physical iPhone and the iOS 27.2 Simulator. It happens when loading a remote HTTPS URL and when displaying a minimal local HTML string with loadHTMLString(_:baseURL:). It also occurs with a default WKWebView configuration and no custom navigation delegate. On the physical iPhone, ContentView.onAppear ran about 0.75 seconds after the app’s initializer, yet the local HTML still took about 30 seconds to become visible. In one Simulator run, WebKit reported that WebContent took about 4 seconds to launch and then logged WebProcessProxy::didBecomeUnresponsive. I suspect a delay during WebKit initialization, but I haven’t established what accounts for the full wait. Has anyone reproduced this first-launch behavior on iOS 27? Is there a known WebKit issue, a specific iOS release that addresses it, or a supported workaround that reduces the delay on physical devices?
Topic: UI Frameworks SubTopic: General
Replies
0
Boosts
0
Views
237
Activity
4d
Persistent scroll stutter on iPhone 17 Pro Max, 18 Pro Max and 18 Pro (iOS 27.2), also on Apple Store demo units
Affected devices (all show the same problem): 1x iPhone 17 Pro Max 2x iPhone 18 Pro Max 1x iPhone 18 Pro Many demo iPhones at several Apple Stores Current iOS version: 27.2 Issue: Vertical scrolling inside apps frequently stutters and drops frames. It happens in many, many apps, including Apple's own App Store and Apple Store apps. During a normal flick-and-decelerate scroll, the content repeatedly freezes for one or more frames and then jumps forward. Because this reproduces on four of my own devices and on many Apple Store demo units, I believe it is a widespread, system-level issue, not a defect of a single device or my settings. Impact: I have been living with this for more than six months. I use my iPhone heavily every day, and the constant stutter has made using it genuinely distressing. Everything else about iPhone feels excellent, which makes this problem even harder to accept. Steps to reproduce: Open the App Store app (or almost any app with a scrolling list). Scroll with a normal flick and let it decelerate. Observe repeated hitches during the scroll. Measurements: I filmed the screen with a second iPhone at 4K 120 fps and measured content movement frame by frame: iPhone 18 Pro Max, third-party video feed: about 4 hitches per second of scrolling, about 4% of frames dropped, mostly single-frame drops. iPhone 18 Pro Max, third-party social app list: about 11 hitches per second, about 12% of frames dropped, at a regular rhythm every 6-8 frames. About a third of the stalls last 2-3 frames, and the content does not catch up afterwards. iPhone 17 Pro Max, third-party comment list: about 5 hitches per second, about 8% of frames dropped, including several full freezes of 50-75 ms. Expected: Smooth 120 Hz scrolling, as ProMotion is designed to deliver. Is Apple aware of this issue? I am happy to provide videos, frame-by-frame data, or sysdiagnose logs.
Replies
4
Boosts
2
Views
459
Activity
4d
Public API for the iPhone Duo inner-display glow in tent mode
Feature request: Public API for the iPhone Duo inner-display glow in tent mode I’d like a public API for the colored glow that the StandBy alarm casts onto the table in tent mode. It’s a subtle detail that would work well in other apps. The outer display could keep showing the app while the inner glow picks up a color from album artwork or shifts as a timer counts down. The private UIKitCore methods +[_UISceneCompanion _alarmGlowContent] and +[_UISceneCompanion _highlightCompanionWithColor:] point to the effect I mean. SpringBoard also defines SBCompanionScenePresentationModeInnerDisplayStandbyAlarmGlow. In SwiftUI, I could imagine using it like this: .sceneAccessory { InnerDisplayGlowAccessory(color: glowColor) }An optional intensity parameter would be nice, too. That would let apps keep the glow faint during playback or brighten it briefly when something changes, within brightness limits set by iOS.
Replies
0
Boosts
0
Views
117
Activity
4d
Document-based app always opens untitled document even when a document is restored
If my NSDocument.canConcurrentlyReadDocuments(ofType:) implementation returns true, often when launching the app, an untitled document is created regardless whether another document is restored. If document reading is not concurrent, an untitled document is only created when no other document is restored, as expected. The issue happens on most app launches when a document is restored. If the restored document takes long to load (which can be simulated by putting sleep(1) in the Document.read(from:ofType:) implementation), the issue always happens. Is this expected, or is there a workaround? I created FB25340015.
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
3
Boosts
0
Views
189
Activity
4d
Mac Catalyst: disabled SwiftUI toolbar buttons turn into pills and don’t update their state
Hi everyone, we’ve been fighting with disabled toolbar buttons in our Mac Catalyst app and wanted to check whether others are seeing the same thing, or whether we’re missing something. Our toolbar lives in a SwiftUI NavigationStack, so Catalyst bridges it into the window’s NSToolbar. Enabled buttons look and work great: native buttons with a round 36 × 36 pt glass. But as soon as a button uses .disabled(_:), things fall apart: It turns into a wider pill. A button that is disabled when it appears becomes an image item instead of a button (NSToolbarImageView with a UIImage), and its glass grows to 47 × 36 pt. Its state doesn’t update. Toggling .disabled(_:) doesn’t reach the existing toolbar item. It only changes if we give the ToolbarItem a new id, which then brings back the pill. Disabling the NSToolbarItem ourselves doesn’t stick. UIKit revalidates the toolbar whenever any item changes, and copies the bar button’s enabled state back over ours. Drawing our own image to fix the shape crashed AppKit (“Unable to install constraint on view”) as soon as the item switched back to enabled. For now we keep the SwiftUI button enabled on the Mac and disable the native NSToolbarItem ourselves. We find the toolbar via NSToolbar.willAddItemNotification and use KVO to put the state back whenever UIKit overrides it. It works, but it feels like it shouldn’t be necessary. Here’s a minimal example: struct ContentView: View { @State private var canUndo = false var body: some View { NavigationStack { Button("Toggle") { canUndo.toggle() } .toolbar { ToolbarItem(placement: .topBarLeading) { Button("Undo", systemImage: "arrow.uturn.backward") {} .labelStyle(.iconOnly) .disabled(!canUndo) } } } } }Seen on macOS 27.2 and 26.7.1, Xcode 27.2. Filed as FB25597608. Is there a supported way to get a disabled toolbar button that stays a normal native button? Any hints are very welcome. Thanks!
Replies
0
Boosts
0
Views
72
Activity
5d
SwiftUI TabView with a .prominent tab exhibits unexpected rendering behavior during iPhone Duo display transitions
Hi Apple Support Team, I would like to report an iPhone Duo-specific regression that appears in iOS 27.2.1. The same application behaves correctly on iOS 27.1, and I have been able to reproduce the issue consistently using a minimal sample application. When running the application on iPhone Duo, transitioning from the outer display to the inner display while the device is opened in landscape orientation results in unexpected UI rendering. Specifically, a large arc-shaped visual element associated with a tab configured with the .prominent role appears on screen after the transition. In addition to the rendering issue, we have observed unexpected UI presentation behavior during these display transitions when a tab is assigned the .prominent role. The issue appears to be tied to the .prominent tab role. When all tabs use the default role, the application behaves as expected and neither the rendering issue nor the unexpected UI behavior is observed. A sample application reproducing the issue is attached. Steps to Reproduce Launch the attached sample application on iPhone Duo running iOS 27.2.1. Ensure that one of the tabs is configured with the .prominent role. Start on the outer display. Open the device and transition to the inner display in landscape orientation. Observe the UI during and after the transition. Expected Result TabView should transition cleanly between the outer and inner displays without rendering artifacts or unexpected UI behavior. Actual Result A large arc-shaped visual artifact appears on screen. Unexpected view presentation behavior may occur during the display transition. Multiple animation- and transform-related warnings are logged. // Attached run time logs. Additional Notes Reproducible in both our production application and the attached sample application. The issue appears to be tied to SwiftUI TabView when a tab is assigned the .prominent role. The issue was not observed on iOS 27.1. The issue occurs during transitions between the outer and inner displays on iPhone Duo. Removing the .prominent role eliminates the issue. Could you please let us know whether this is a known issue with SwiftUI TabView and .prominent tabs during iPhone Duo display transitions on iOS 27.2.1? If there is an existing Feedback report, Apple Developer Forums discussion, internal tracking issue, or recommended workaround, we would greatly appreciate any guidance. Screenshots and a sample project are attached. Thank you for your time and assistance. Please let me know if any additional diagnostics, sysdiagnose captures, logs, or sample projects would be helpful. Best regards, Manish
Replies
1
Boosts
0
Views
217
Activity
5d
Can a CGVirtualDisplay-based display receive direct touch in macOS 27 (Touch on Mac)?
We ship a macOS app that creates a virtual display with CGVirtualDisplay and streams it to a tablet, which acts as a second screen. Today we deliver the tablet's touches as mouse events (CGEvent), so the system sees a pointer, not touch. With Touch on Mac in macOS 27, we would like the system to treat that display as touch-capable, the way it does for an iPad connected with Sidecar: Can a display created with CGVirtualDisplay report touch capability (NSScreen.touchCapabilities including .multiTouch) and receive direct touches? If not directly, is a virtual HID digitizer (DriverKit or CoreHID) associated with the display's UUID the supported path? Is the com.apple.developer.hid.virtual.device entitlement available for this use? If neither is supported today, what is the recommended way to deliver touch input to a virtual display without mouse emulation? We asked this in the Touch on Mac Group Lab on 20 November and were directed here. Thank you.
Replies
0
Boosts
0
Views
177
Activity
5d
Regression: AxisValueLabel multiLabelAlignment parameter ignored in iOS 27
Hello Apple SwiftUI / Swift Charts Engineering Team, I am writing to report a layout regression regarding Swift Charts in iOS 27. The multiLabelAlignment property on AxisValueLabel has stopped working as expected, whereas it functions perfectly in iOS 26. Bug Description: When configuring custom string values within AxisMarks using AxisValueLabel with multiLabelAlignment: .trailing, the alignment configuration is completely ignored on iOS 27. Labels fail to align text properly to the trailing edge, causing rendering layout issues for multi-line or custom text labels on the Y-axis. This exact same implementation compiles and aligns correctly on iOS 26. Code Snippet to Reproduce: swift struct YAxisAlignmentBugView: View { // data points to render the chart frame let data = [(date: Date(), revenue: 3000.0), (date: Date().addingTimeInterval(10000), revenue: 4000.0)] var body: some View { Chart(data, id: .date) { item in LineMark(x: .value("Date", item.date), y: .value("Revenue", item.revenue)) } .frame(height: 300) .padding() .chartYAxis { AxisMarks(preset: .aligned, position: .trailing, values: [12.0, 600.0, 3000.0, 6000.0]) { value in if let revenue = value.as(Double.self) { // BUG: multiLabelAlignment: .trailing is completely ignored on iOS 27 AxisValueLabel("y-(Int(revenue))", anchor: .leading, multiLabelAlignment: .trailing) } } } } } Steps to Reproduce: Render a Swift Chart containing a .chartYAxis configuration with position: .trailing. Pass a string directly using AxisValueLabel(customText, anchor: .leading, multiLabelAlignment: .trailing). Run the application on an iOS 26 simulator (text aligns properly to the trailing edge). Run the identical application code on an iOS 27 simulator. Expected Behavior: The text inside the AxisValueLabel should honor the multiLabelAlignment: .trailing parameter and align the text strings flush right. Actual Behavior: The multiLabelAlignment layout modifier is ignored on iOS 27, resulting in unexpected default left-alignment of the text strings. Attachments: I have attached screenshots from the Xcode Simulator demonstrating the regression: Please let me know if you need any further diagnostic details. Best regards, Soumyajit Das
Replies
3
Boosts
0
Views
376
Activity
5d
Regression: AxisValueLabel anchor parameter ignores .topLeading on iOS 27
Hello Apple SwiftUI / Swift Charts Engineering Team, I am writing to report a layout regression regarding Swift Charts in iOS 27. The anchor property on AxisValueLabel has stopped honoring the .topLeading layout coordinate, whereas it functions perfectly in iOS 26. Bug Description: To prevent the first label on a bottom X-axis from clipping past the left screen edge, a .topLeading anchor is applied. In iOS 27, this specific anchor alignment is completely ignored. The chart falls back to a standard top-center alignment, causing the initial boundary label to clip off-screen. Core Code Snippet to Reproduce: struct XAxisAnchorBugView: View { let dates = [ Calendar.current.date(from: DateComponents(year: 2026, month: 10, day: 1))!, Calendar.current.date(from: DateComponents(year: 2026, month: 10, day: 2))! ] var body: some View { Chart(dates, id: .self) { date in LineMark(x: .value("Date", date), y: .value("Value", 100)) } .frame(height: 300) .padding() .chartXAxis { AxisMarks(preset: .aligned, position: .bottom, values: .stride(by: .day, count: 1)) { value in AxisTick() let currentAnchor: UnitPoint = { guard let currentDate = value.as(Date.self) else { return .top } // BUG: .topLeading layout anchor parameter is completely ignored on iOS 27 return (currentDate == dates.first) ? .topLeading : .top }() AxisValueLabel(format: .dateTime.month(.abbreviated).day(), anchor: currentAnchor) } } } } Steps to Reproduce: Render an X-axis with a .bottom position. Assign anchor: .topLeading strictly to the first axis element's label. Run on an iOS 26 simulator (the first label anchors its top-left corner correctly, preventing edge clipping). Run on an iOS 27 simulator (the .topLeading anchor is ignored, reverting to standard top-center alignment). Expected Behavior: AxisValueLabel should position its layout bounding box using the .topLeading anchor point when specified. Actual Behavior: The layout engine ignores the .topLeading parameter on iOS 27, causing the boundary text to shift left and clip. Attachments: I have attached Xcode Simulator screenshots demonstrating this regression: Best regards, Soumyajit Das
Replies
3
Boosts
0
Views
406
Activity
5d
How to handle all the core AppleEvents
Glancing through the APIs, SwiftUI can handle the open app, reopen app, open doc, and quit core events (with the “aevt” suite ID). What about the print doc and open content events? If there are no hooks (yet), how can I implement them the traditional way without clashing with SwiftUI?
Replies
2
Boosts
0
Views
845
Activity
5d