-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UIStoryboard #33
Comments
Hi @kishorehvk, If you try to present a view controller while another one is already displayed it'll not work. You need first to dismiss the current presented view controller then to display the new one. Or just present the new view controller into the |
My question is,I have View Controller VC, When i start to scan it opens a new viewController lets say VC 2 and in that new viewcontroller it opens the camera. If I dismiss it, only the camera goes and the view controller remains idle. But i need to go back to view VC. |
You have a VC1 that opens the If you follow the example in the README or in the example project this is the same behaviour that you want to achieve. |
Hi ,
Instead of dismisViewController in didScanresult method I need to use UIStoryboard *storyboard= [UIStoryboard storyboardWithName:@"Main" bundle:nil];
UIViewController *main = [storyboard instantiateViewControllerWithIdentifier:@"MainViewController"];
[self presentViewController:main animated:YES completion:nil]; But it is not pushing into the respective view controller. How could I do it
The text was updated successfully, but these errors were encountered: