By srinu4950
on Mon, 04/22/2013 - 12:16
Hi all ,
Thank you spending time for reading my post . My intension is when we detect the Target using the ImageTarget I have to load the UIWebview . So for that in the renderFrameQCAR mehtod I have tried this code for loading a UIWebView when we detect the ImageTarget . But it is crashing . Please help me how to do this .
UIWebView *ew = [[UIWebView alloc] initWithFrame:self.bounds];
[ew loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.incipio.com"]]];
[self addSubview:ew];
Thanks in advance
load UIWebview when we detect the Target Image
Chances are that you may be running into some threading issue as you cannot simply jump to another view inside renderFrameQCAR (which is running on a background thread) without ensuring that there is no conflict with the AR View.