我们的色调是白色的。我们的应用程序使用 CNContactViewController。在我们商店中使用 Xcode 7 构建的面向 iOS 8 和 9 的应用程序版本中,如果您是 iOS 9,我们称为 CNContactViewController。后退按钮是白色的,但后面有一个灰色的导航栏。在我们使用 Xcode 8 针对 iOS 9 和 10 的开发构建中,没有灰条,所以后退按钮是白色的,很难看到阴影。
有没有其他人经历过 CNContactViewController 的导航区域发生变化的 Xcode 版本/SDK 版本之间的变化?我们的应用程序中是否有其他一些变化会影响这个栏?
编辑:这是我们最新版本中的图像。我确实删除了一些个人信息,所以是中间的框,但你可以在左上角看到很难看到后退按钮。
编辑:这就是我们在整个应用程序中设置颜色的方式。如果白色的后退按钮也使用红色的条形颜色而不是什么都没有,则它不会成为问题
UINavigationBar.appearance().barTintColor = UIColor.red
UINavigationBar.appearance().tintColor = UIColor.white
UINavigationBar.appearance().titleTextAttributes = [NSForegroundColorAttributeName: UIColor.white]
我们用来将其推送到现有的具有红色条和白色按钮的导航控制器的代码:
let ucvc = CNContactViewController(forUnknownContact: contact)
ucvc.delegate = self
ucvc.allowsEditing = true
ucvc.allowsActions = true
ucvc.alternateName = name()
ucvc.contactStore = CNContactStore()
self.navigationController?.pushViewController(ucvc, animated: true)