I have 2 view controllers which should be swapped according to userinput. So,I want to switch the views programatically based on the input I get from a text file.
if(input == 1)
Go to View Controller 1
else if(input ==2)
Go to View Controller 2
To fire an event programmatically you need to call