Developer Forums relocated!

Need help with Apple Developer tools and technologies? Want to share information with other developers and Apple engineers? Visit Developer Forums at Apple.

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

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 ID.