Monday, October 02, 2017

Container View Pushed Down in Navigation View

After I transferred my codes from Swift 3.0 to 4.0 in Xcode 9.0, I noticed that one of view's content is pushed down about the height of navigation bar. Before my app was working fine.

After hours investigation I still had no clue. Then I searched from Internet. Soon I found one solution. It is not obviously related my conversion. It is just the navigation bar in the previous navigation controller has to be set Translucent! With that change my views in all localization back to normal. Love StackOverflow and solution offered by developers!