When I call this code I get this error:
[self presentViewController:newViewController animated:YES completion:nil];
I can easily change the view if I put a button on my TabBarView and make a segue in storyboard, but I want to change view in code.Error=Application tried to present a nil modal view controller on target .
It looks like you're new here. If you want to get involved, click one of these buttons!