swift - Hide back button -


i'm working on 1st real game. have 2 view controllers. 1st 1 has animated picture, , player can enter there names. 2nd 1 displaying game. after game on player can play again or reset. reset takes them 1st vc can give new names. question how hide reset until need it. put there made button , command dragged 1st vc , selected show.

thanks information might able give me.

if using ios predefined button try this:-

navigationitem.hidesbackbutton = true 

or if have dragged , drop uibarbutton create outlet , hide/show accordingly.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -