samedi 9 mai 2015

How to move to another view controller in iOS on a Button Click

Let's say I created two view controllers on storyboard - FirstViewcontroller and SecondViewcontroller. Now I wanna move to SecondViewcontroller by clicking a button in FirstViewcontroller. What should I do to the button? I have ctrl clicked the button and connected it to the SecondViewcontroller using "reveal view controller push controller". Is there anything else to do in the code?

Aucun commentaire:

Enregistrer un commentaire