I have a UITabBarController
that has 2 items. Each of them points to a different UINavigationController
, however both of them point to the same UIViewController
. The first item is displayed correctly but the second on is not. What's happening. No code is necessary for reproducing it.
A view controller can't be in different navigation controllers at the same time. You need two scenes here. This is one reason why I don't like Storyboards.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.