I have viewcontroller A, B, C. viewcontroller A having UIWebView for displaying HTML pages and it highlight string values on UIWebView. For requirement, When i coming from viewcontroller B, viewcontroller A need to display the highlighting text on UIWebView. When i coming from viewcontroller C, viewcontroller A no need to display the highlighting text. But when i coming from viewcontroller B & C, the viewcontroller A displaying the highlight text. How to hide the highlight text on UIWebView while coming from viewcontroller C. Is it possible? How to know i'm coming from viewcontroller B or C? If it's find then maybe have a solution

viewcontroller A :

```
 - (void)viewDidLoad
    {
        [super viewDidLoad];
        // Do any additional setup after loading the view.

      wbCont = [[UIWebView alloc] initWithFrame:CGRectMake(0, 45, 320, 568)];

      [wbCont loadHTMLString:webString baseURL:nil];

        NSUserDefaults *prefs = [NSUserDefaults standardUserDefaults];
        // getting an NSString
        NSString  *savedValue = [prefs stringForKey:@"got"];

       if (self.displayHighlightedText) {

                if(savedValue){

[self highlightAllOccurencesOfString1:savedValue];

}

}

```

[self.view addSubview:wbcont];

viewcontroller B :

```
viewcontroller B *det = [[viewcontroller B alloc] init];

    NSString *decodeString = [self htmlEntityDecode:content];

    [content release];

    det.webString = decodeString;

    [self.navigationController pushViewController:det animated:YES];

```

viewcontroller C :

```
viewcontroller c *det = [[viewcontroller C alloc] init];

    NSString *decodeString = [self htmlEntityDecode:content];

    [content release];

    det.webString = decodeString;

    [self.navigationController pushViewController:det animated:NO];

```