"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Pushing an AR View

I was successfully copying the sample source codes into my existing app. Now, i want to have a button which is pushing and starting my ARView; 1. [CODE] ARContainerViewController * arParentViewController = [[ARContainerViewController alloc] init]; [self.navigationController pushViewController:arParentViewController animated:YES]; [arParentViewController release]; [/CODE] 2. my ARContainerViewController [CODE] - (void)viewDidLoad { [super viewDidLoad]; QCARutils *qUtils = [QCARutils getInstance]; [qUtils addTargetName:@"Stones & Chips" atPath:@"StonesAndChips.xml"]; [qUtils addTargetName:@"Tarmac" atPath:@"Tarmac.xml"]; CGRect screenBounds = [[UIScreen mainScreen] bounds]; arParentViewController = [[ARParentViewController alloc] init]; arParentViewController.arViewRect = screenBounds; [self.view addSubview:arParentViewController.view]; } [CODE] ..but.. this is crashing the app. If i am removing [CODE] [self.view addSubview:arParentViewController.view]; [/CODE] the view is pushed again, but for sure, without the AR View. hm.. 2012-03-18 12:59:42.011 MyApp[3139:707] ARParentVC: creating 2012-03-18 12:59:42.013 MyApp[3139:707] ARVC: loadView 2012-03-18 12:59:42.255 MyApp[3139:707] QCAR OpenGL flag: 1 2012-03-18 12:59:42.257 MyApp[3139:707] +[RMClubAppDelegate appDelegate]: unrecognized selector sent to class 0x27b2a0 2012-03-18 12:59:42.259 MyApp[3139:707] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[RMClubAppDelegate appDelegate]: unrecognized selector sent to class 0x27b2a0' *** First throw call stack: (0x351fd88f 0x36624259 0x3520092f 0x351ff915 0x3515a650 0x7773 0x44e1 0x32254dbf 0x3df7 0x32254dbf 0x47d7d 0x32254e33 0x32261391 0x32261201 0x322610e7 0x32260969 0x322606ab 0x32254ca7 0x3225497d 0x3ec05 0x351573fd 0x32236faf 0x322fc76b 0x351573fd 0x32236faf 0x32236f6b 0x32236f49 0x32236cb9 0x322375f1 0x32235ad3 0x322354c1 0x3221b83d 0x3221b0e3 0x3645022b 0x351d1523 0x351d14c5 0x351d0313 0x351534a5 0x3515336d 0x3644f439 0x32249e7d 0xa8ad 0x3974) terminate called throwing an exception(lldb)