Post

Replies

Boosts

Views

Activity

Issue with UIPopoverPresentationController position drifting on iPadOS 26.0
After upgrading my iPad to iPadOS 26.0, I noticed that when using UIPopoverPresentationController, the popover no longer appears at the expected position. According to the debug logs, the position of the arrow indicator is printed correctly. Interestingly, the issue can be fixed temporarily by switching between portrait and landscape orientations. Could you please help me resolve this issue? UIAlertController *newSheet = [UIAlertController alertControllerWithTitle:@"111111" message:@"2222222222222" preferredStyle:UIAlertControllerStyleActionSheet]; UIAlertAction *action = [UIAlertAction actionWithTitle:@"1112313" style:(UIAlertActionStyleDefault) handler:^(UIAlertAction * _Nonnull action) { }]; [newSheet addAction:action]; newSheet.modalPresentationStyle = UIModalPresentationPopover; UIPopoverPresentationController *popover = [newSheet popoverPresentationController]; popover.sourceView = cell; [self presentViewController:newSheet animated:YES completion:nil];
1
0
72
Nov ’25
Issue with UIPopoverPresentationController position drifting on iPadOS 26.0
After upgrading my iPad to iPadOS 26.0, I noticed that when using UIPopoverPresentationController, the popover no longer appears at the expected position. According to the debug logs, the position of the arrow indicator is printed correctly. Interestingly, the issue can be fixed temporarily by switching between portrait and landscape orientations. Could you please help me resolve this issue?
Topic: UI Frameworks SubTopic: UIKit
2
0
219
Oct ’25
Crash
Incident Identifier: 124B678C-DE21-4402-B3E4-D5308F93CDAE CrashReporter Key: 86abfca358280358bd0ea7af9f8864cd2dfcf979 Hardware Model: iPad13,16 Process: XLUPNP [972] Path: /private/var/containers/Bundle/Application/267679E8-0AA1-4492-9489-1FD9F97A0656/XLUPNP.app/XLUPNP Identifier: matrix.XLUPNP Version: 1.0 (1) Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1] Coalition: matrix.XLUPNP [636] Date/Time: 2022-08-23 09:00:55.8599 +0800 Launch Time: 2022-08-23 09:00:55.7897 +0800 OS Version: iPhone OS 15.6.1 (19G82) Release Type: User Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Triggered by Thread: 0 Application Specific Information: abort() called Last Exception Backtrace: 0 CoreFoundation 0x180926288 __exceptionPreprocess + 220 1 libobjc.A.dylib 0x199656744 objc_exception_throw + 60 2 CoreFoundation 0x180a03fc0 +[NSObject(NSObject) _copyDescription] + 0 3 UIKitCore 0x183c801f0 -[UIResponder doesNotRecognizeSelector:] + 296 4 CoreFoundation 0x1808bae98 forwarding + 1764 5 CoreFoundation 0x1808b9f70 _CF_forwarding_prep_0 + 96 6 XLUPNP 0x100a95b34 -[UINavigationController(WRAddition) preferredStatusBarStyle] + 60 7 UIKitCore 0x1832e034c +[UIWindow(StatusBarManager) _preferredStatusBarStyleInWindow:withPartStyles:animationProvider:] + 384 8 UIKitCore 0x183317fa8 -[UIStatusBarManager _updateStyleForWindow:animationParameters:] + 76 9 UIKitCore 0x1831c52a0 -[UIStatusBarManager _updateStatusBarAppearanceWithClientSettings:transitionContext:animationParameters:] + 384 10 UIKitCore 0x182f44980 -[UIStatusBarManager updateStatusBarAppearanceWithAnimationParameters:] + 36 11 UIKitCore 0x182ed5718 __53-[UIViewController setNeedsStatusBarAppearanceUpdate]_block_invoke_2 + 132 12 UIKitCore 0x1830dbd8c -[UIViewController _updateSystemAppearanceWithRecursionBlock:action:] + 340 13 UIKitCore 0x182fcf32c -[UIWindow addRootViewControllerViewIfPossible] + 1260 14 UIKitCore 0x182f24894 -[UIWindow _updateLayerOrderingAndSetLayerHidden:actionBlock:] + 232 15 UIKitCore 0x182fbb2d0 -[UIWindow _setHidden:forced:] + 280 16 UIKitCore 0x182fd596c -[UIWindow _mainQueue_makeKeyAndVisible] + 56 17 XLUPNP 0x100a9c910 -[AppDelegate(server) initWindow] + 344 18 XLUPNP 0x100a90934 -[AppDelegate application:didFinishLaunchingWithOptions:] + 124 19 UIKitCore 0x183030a44 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 340 20 UIKitCore 0x183217a78 -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] + 3572 21 UIKitCore 0x183200678 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1180 22 UIKitCore 0x18305e1a8 -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 152 23 UIKitCore 0x182eb857c _UIScenePerformActionsWithLifecycleActionMask + 104 24 UIKitCore 0x182fe3090 __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 216 25 UIKitCore 0x183102fe0 -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 248 26 UIKitCore 0x183341c58 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 772 27 UIKitCore 0x1832cd1e0 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 340 28 UIKitCore 0x182eb9368 __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke + 196 29 UIKitCore 0x182f793c0 +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:actions:completion:] + 892 30 UIKitCore 0x182ebb26c _UISceneSettingsDiffActionPerformChangesWithTransitionContext + 276 31 UIKitCore 0x182fa5544 -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 384 32 UIKitCore 0x18342a240 __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke.615 + 776 33 UIKitCore 0x182ee964c -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 256 34 UIKitCore 0x182f2cfac -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 288 35 UIKitCore 0x183062fac -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 584 36 UIKitCore 0x182fa3808 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 388 37 FrontBoardServices 0x192b56294 -[FBSScene _callOutQueue_agent_didCreateWithTransitionContext:completion:] + 440 38 FrontBoardServices 0x192b7c090 __94-[FBSWorkspaceScenesClient createWithSceneID:groupID:parameters:transitionContext:completion:]_block_invoke.215 + 128 39 FrontBoardServices 0x192b37308 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 240 40 FrontBoardServices 0x192b38958 __94-[FBSWorkspaceScenesClient createWithSceneID:groupID:parameters:transitionContext:completion:]_block_invoke + 372 41 libdispatch.dylib 0x18058da30 _dispatch_client_callout + 20 42 libdispatch.dylib 0x1805914e0 _dispatch_block_invoke_direct + 264 43 FrontBoardServices 0x192b38c70 FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK + 48 44 FrontBoardServices 0x192b38040 -[FBSSerialQueue _targetQueue_performNextIfPossible] + 220 45 FrontBoardServices 0x192b3c700 -[FBSSerialQueue _performNextFromRunLoopSource] + 28
0
0
340
Aug ’22