How to move to another view without using a button
Posted
by
Will
on Stack Overflow
See other posts from Stack Overflow
or by Will
Published on 2012-10-22T10:50:37Z
Indexed on
2012/10/22
11:00 UTC
Read the original article
Hit count: 125
My first view displays an image and action indicator while web-servers and database function are run in that background. I want the application to go to my tab view when the functions have been completed. How do I do this?
Here is what the views look like.
What I have tried:
TabBarViewController *tab = [[TabBarViewController alloc]init];
[self presentViewController:tab animated:NO completion:nil];
and
[self performSegueWithIdentifier:@"first" sender:self];
Please can you help my to understand how to do this. I have spent many hours googling this problem and couldn't work out how to do it.
Thanks
EDIT: Added Code
© Stack Overflow or respective owner