如题
环境: Xcode-beta (8.0)
手机: iPhone 5S
系统: iOS 10.0
我在baseController
中的willAppear
和didAppear
中po
了navigationBar.subviews
数组结构如图. 为何didAppear
中创建的视图会在数组的前面而非后面? 这导致了我视图层次结构有一些显示的问题. 我虽可在didAppear
中 insert
时调整, 但因已didAppear
了,所以之前的视图和insert
之后调整的视图会有明显的效果. 这个效果并不是我想要的.
怎么图片不显示..........
Solved.
Under the guidance of an expert, main queue asynchronous was added to viewDidLoad. The problem was solved, but when the secondary interface returns, the problem still exists. I don’t know the reason, but it needs to be solved.
The bottom of the stack should be rootViewController, try setting this up