Teymur Hacizade
Teymur Hacizade

Reputation: 89

IOS Switch between views

I have ios project with storyboard. There are 4 views in storyboard. The first view that come after navigation controller is "Login View". In all other views there is a Logout button. When you click the button I want the application show the Login View. But I could not find how to do this.

Please can you show me the code how to do that?

Thanks!

Upvotes: 0

Views: 1085

Answers (1)

BloonsTowerDefence
BloonsTowerDefence

Reputation: 1204

This tutorial shows you how to go back and forth between 2 different views in storyboard, you should be able to apply it to your problem.

http://howtomakeiphoneapps.com/using-storyboards-to-create-a-single-view-application/1363/

Upvotes: 2

Related Questions