Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

iOS 14 beta 6 - UITabBarController + popToRootViewController - the selected tabbar icon is missing

Current result:


Refer here to reproduce the issue.



Basically the app structure is:

Bookmarks, Downloads, Favorites are embedded in a UINavigationController.




The problem is (as for subject): calling the popToRoot inside DetailsViewController the icon is missing.

navigationController?.popToRootViewController(animated: true)


Analyzing the Views Hierarchy via Xcode, the icon does not exist (it seems to have been deallocated).



Bonus: using the same code in the ListViewController (one level above the DetailsViewController) the icon is there and is correctly selected!



Thanks for your help!


iPhone 11

Posted on Aug 31, 2020 7:11 AM

Reply
2 replies
Sort By: 

Aug 31, 2020 7:27 AM in response to mvitolo

Due to the terms of the Apple iOS beta agreement, and those of the Apple Support Communities, we can provide no assistance for any Apple beta product. If you are a paid developer, then there is an exclusive support forum to be used for beta issues. If you are a public beta user, there is no support.

Reply

iOS 14 beta 6 - UITabBarController + popToRootViewController - the selected tabbar icon is missing

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.