当我导航返回 &在主-细节导航控制器中的父控制器和子控制器之间,我在顶部导航栏的右侧看到一个深色阴影.它是在我升级到 Xcode 5.1 后开始的.感觉粗糙和分散注意力.我怎样才能摆脱它?
When I am navigating back & forth between parent and child controllers in a master - detail navigation controller, i see a dark shadow on the right side of navigation bar at top. It started after I upgraded to Xcode 5.1. It feels rough and distracting. How can I get rid of it?
self.navigationController.navigationBar.translucent = NO;
对于较新的 Swift 版本:
navigationController?.navigationBar.isTranslucent = false
这篇关于升级到 Xcode 5.1 和 iOS 7.1 后,在 segue 过渡期间导航栏上出现暗影的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!