Q:

Call another ViewController without using storyboard

I changed my button from calling another ViewController from Storyboard to download some stuff from a website using JSon. Now I need to call the very same ViewController after the code...
probably it is a simple stuff  but I didn't quite get it
thanks

A:

I am not sure that this is what you are looking for, but look at this.
Let's say you have two controllers, ViewController1 and ViewController2. After you are done with the JSON parsing in ViewController 1, let's say from [self finishedGetJSON], you could do this;
- (void) finishedGetJSON(yourargument*) arg {
    ViewController1 * screen = [self.storyboard instantiateViewControllerWithIdentifier:@"yourIdentifier"];
    [self.navigationController pushViewController:screen animated:YES];

Is that what you were looking for?

