UINavigationController retain cycle in iOS 26

Verbatim of a feedback report (FB18431713) I submitted, duplicated here since we can't see each other's feedbacks, and I wanted a centralized place to track the resolution of this as I'm surely not the only one facing this.


When building the app using Xcode 26 beta 2 and running it in an iOS 26 simulator, I'm experiencing a retain cycle in the UINavigationController.

From the data I saw in Xcode's memory graph debugger, it seems that _UIViewControllerOneToOneTransitionContext is retaining it. I base this on the fact that the line connecting a view controller and _UIViewControllerOneToOneTransitionContext has a "strong" reference, as indicated in Xcode. (However, I'm reporting this as a retain cycle in UINavigationController, as that's what seems to hold onto this transition-context.)

Answered by mgalijot in 855289022

This is fixed in Xcode 26 beta 4 / iOS 26 beta 4 (though Apple never replied to my feedback with a confirmation)

Accepted Answer

This is fixed in Xcode 26 beta 4 / iOS 26 beta 4 (though Apple never replied to my feedback with a confirmation)

UINavigationController retain cycle in iOS 26
 
 
Q