You may have done some time-consuming operation on the navigationBar. It stands to reason that they all use the same naviBar, just set it as hidden or not
Generally, it depends on whether there is more hidden or more displayed content in the application. I usually write the one with more content in rootViewController, and the other one is also in viewwillappear and disAppear. I have never encountered the kind of problem you mentioned. Please check carefully. Is the code stuck on the main thread due to some time-consuming operation during the loading process? According to the execution order, there is no problem.
You may have done some time-consuming operation on the navigationBar. It stands to reason that they all use the same naviBar, just set it as hidden or not
Generally, it depends on whether there is more hidden or more displayed content in the application. I usually write the one with more content in rootViewController, and the other one is also in viewwillappear and disAppear. I have never encountered the kind of problem you mentioned. Please check carefully. Is the code stuck on the main thread due to some time-consuming operation during the loading process? According to the execution order, there is no problem.