Post

Replies

Boosts

Views

Activity

Reply to UITabBarController crashes when editing the items
My current solution is, to remove the "Edit" button from the UiTabBarController programmatically, but this removes the functionality itself. - (void)navigationController:(UINavigationController *)navigationController willShowViewController:(UIViewController *)viewController animated:(BOOL)animated { //====================================================================================== // as iOS 26.0 and 26.1 is crashing when moving the entries in the TabBarController Edit // // Has to be checked as soon it is working again, this code should be removed // if (@available(iOS 26.0, *)) { UINavigationBar *morenavbar = navigationController.navigationBar; UINavigationItem *morenavitem = morenavbar.topItem; /* We remoce Edit button in More screen. */ if (morenavitem.rightBarButtonItem.action == @selector(beginCustomizingTabBar:)) { morenavitem.rightBarButtonItem = nil; } } //======================================================================================
Topic: UI Frameworks SubTopic: UIKit
Nov ’25
Reply to UITabBarController crashes when editing the items
Ok, I created a small project where the bug can be reproduced. How can I report this bug to Apple? The error occurs, when you have a UITabBarController which has more or equal as 6 assigned UINavigationController. When you then go to the "..." More Button and klick on Edit and then move one of the non visible icons to the bar at the Botton and then it is crashing. Unfortunately I cannot attach a ZIP File here
Topic: UI Frameworks SubTopic: UIKit
Sep ’25