I read many topics here but don't understand. For example I have two ViewControllers. VC1 and VC2. How can I go from VC1 to VC2 programmatically? I loading data with NSURLConnection, then parse it, and if in received data I see string "type=1", I have to run another ViewController, and it has to run all its methods (ViewDidLoad and so on). How can I do it?
In VC1 I have:
If ([[_typeArr objectAtIndex:0]] intValue] == 1)
//Here I must to run VC2