UIBotton をプッシュするときに、別のビュー ベースから FrameMarkersAppdelegate を呼び出したいと思います。どのようにできるのか?
FrameMarkersAppdelegate.mm
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
CGRect screenBounds = [[UIScreen mainScreen] bounds];
window = [[UIWindow alloc] initWithFrame: screenBounds];
[self setupSplashContinuation];
[QCARutils getInstance].targetType = TYPE_FRAMEMARKERS;
// Add the EAGLView and the overlay view to the window
arParentViewController = [[ARParentViewController alloc] init];
arParentViewController.arViewRect = screenBounds;
[window insertSubview:arParentViewController.view atIndex:0];
[window makeKeyAndVisible];
return YES;
}
ViewController.m
-(IBAction)displaySelection:(id)sender
{
// How can I start FrameMarkersAppDelegate here?
}