"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

ActivityIndicator not Showing

Hi, i just try the videoplayback sample. And i saw in some AR Apps that they have some like green line indicator going up and down when scan the target. I check the code in VideoPlaybackViewController.mm and have code like this:

 

CGRect mainBounds = [[UIScreen mainScreen] bounds];

    CGRect indicatorBounds = CGRectMake(mainBounds.size.width / 2 - 12,

                                        mainBounds.size.height / 2 - 12, 24, 24);

    UIActivityIndicatorView *loadingIndicator = [[[UIActivityIndicatorView alloc]

                                          initWithFrame:indicatorBounds]autorelease];

    

    loadingIndicator.tag  = 1;

    loadingIndicator.activityIndicatorViewStyle = UIActivityIndicatorViewStyleWhiteLarge;

    [eaglView addSubview:loadingIndicator];

    [loadingIndicator startAnimating];

 

But when i run my project its not showing anything. Anybody have sucess implementing this activity indicator?

 

thanks...