I added a view with app delegate class’s button click. Like this:
In UnifeyeMobile_templateAppDelegate.mm :
- (IBAction)onBtnImageTracking:(id)sender {
// create our UnifeyeMobileViewController and present it
UnifeyeMobileImageTrackingViewController* unifeyeMobileViewController = [[UnifeyeMobileImageTrackingViewController alloc] initWithNibName:@"UnifeyeMobileImageTrackingViewController" bundle:nil];
unifeyeMobileViewController.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
[viewController presentModalViewController:unifeyeMobileViewController animated:YES];
[unifeyeMobileViewController release];
}
And I want to back from added UnifeyeMobileImageTrackingViewController’s view to main app delegate class view. I put a button for back. But I dont know how to do this? Please help me.
Within the model viewcontollers code, simply call
For the interaction from the users, which you wish to use to dismiss the modal view (for example a button touch event).