Wednesday 26 April 2017

tab bar key board issue swift 3

override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
if segue.identifier == "showLogin"{
let bottomBar = segue.destinationViewController as LoginViewController
println("showLogin seque called")
bottomBar.navigationItem.hidesBackButton = true // hide back button
bottomBar.hidesBottomBarWhenPushed = true // hide bar menu }
}

No comments:

Post a Comment

Remove bottom line in navigation bar

navigationController ?. navigationBar . setBackgroundImage ( UIImage (), for: . any , barMetrics: . default )          navigat...