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