NavigationController jumps back to RootView stutter under TabBarController

problem description

excuse me, the following picture shows the structure of my iOS application page, which basically uses TabBarController as the starting screen
, then the third sub-page (ThirdView) is NavigationController, followed by a FourthViewController (FourthView) under ThirdView

ThirdViewSegueFourthViewThirdView1

.

Please tell me where the problem is

< hr >

related codes

the following is the code for ThirdView to switch FourthView. There is nothing special, that is, Segue
FourthView returns to ThirdView and clicks the return button on the upper left

complete code Click this link to download

import UIKit

class ThirdViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        // Do any additional setup after loading the view.
    }
    
    @IBAction func buttonWasTapped(_ sender: Any) {
        performSegue(withIdentifier: "fourthSegue", sender: self)
    }
    
}
Feb.19,2022

this is a bug, of iOS12.1. You can refer to repair iOS12.1 UITabBar layout displacement bug this solution.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e754b0-5b35d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e754b0-5b35d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?