By shivintu
on Wed, 06/20/2012 - 17:05
Hi All,
I understood the concept of tracking an image in Image Targets sample code.
I am able to track the image which I uploaded using Target Management Tool.
I need to add some overlay view wih controls on top of image which got tracked.
I tried to add overlay view to EAGLView, RootViewController and also to the window in renderFrameQCAR method, but my overly view is not displalying.
UIView *overlay_View = [[UIView alloc]initWithFrame:CGRectMake(0, 0, 200, 400)];
overlay_View.backgroundColor = [UIColor redColor];
ImageTargetsAppDelegate *appDelegate = (ImageTargetsAppDelegate *)[[UIApplication sharedApplication]delegate];
[appDelegate.window addSubview:overlay_View];
[appDelegate.window bringSubviewToFront:overlay_View];
I am using ImageTargets smple code.
please give your valuable suggestions.
thanks in advance.
Re: Overlay View On Top Of Tracked Image.
Re: Overlay View On Top Of Tracked Image.