Hello!
I create chain of viewController in storyboard and bind it together. I have a button on one of viewController, if I click on it, other viewController is showing. It simple. But I don't know what I should make, that show this viewController without click on the button - programmatically, for example if i have a timer, throw 30 sec and view must show.
I have some code, but it doesn't work for me.
Thanks.
I create chain of viewController in storyboard and bind it together. I have a button on one of viewController, if I click on it, other viewController is showing. It simple. But I don't know what I should make, that show this viewController without click on the button - programmatically, for example if i have a timer, throw 30 sec and view must show.
I have some code, but it doesn't work for me.
Code:
viewController = [[viewController alloc] init];
[viewController setModalTransitionStyle:UIModalTransitionStyleFlipHorizontal];
[self presentModalViewController:viewController animated:YES];
Thanks.