这里有个小问题。
我有一个 UIBarButtonItem,它可以连接到另一个 TableView 。当用户在这里完成后,我已经实现了一个回到第一个 TableView 的展开转场。一切正常,除了 UIBarButtonItem 在展开 segue 之后仍然被选中/突出显示 which can be seen here .我不知道为什么会这样,想知道如何解决这个问题?
提前致谢。
编辑:我的意思是this当我说它是嵌入式的时候
最佳答案
这是IOS 11.2的bug,我是这样解决的:
override func viewWillDisappear(_ animated: Bool) {
navigationController?.navigationBar.tintAdjustmentMode = .normal
navigationController?.navigationBar.tintAdjustmentMode = .automatic
}
关于ios - UIBarButtonItem 在 unwind segue 之后仍然被选中/突出显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47704926/