title: Add UIButton in UIWebview in iOS
body: <p>I want to add to add a button at the bottom of UIWebView.I went through several posts but didn't find any good answer.
  Can anyone suggest me how to achieve this.
  I want that button should be there when the user reaches the bottom of web view after scrolling.<a href="https://stackoverflow.com/questions/6346380/add-uibutton-in-a-uiwebview">used this link also by setting the button using html but can't that button action in iOS.</a></p>
  
  <p>I am able to add button through HTML on UIWebView.</p>
  
  <pre><code> NSString *html = [NSString stringWithFormat:@"&lt;html&gt;&lt;a href='yourTag01'&gt; &lt;button&gt;Indian Statistics &lt;/button&gt; &lt;/a&gt;&lt;/html&gt;"];
  [self.webView loadHTMLString:html baseURL:nil];
  </code></pre>
  
  <p>This delegate is getting called on clicking the button</p>
  
  <pre><code>- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType
  {
      NSLog(@"%@",request.URL.absoluteString);
      if(navigationType==UIWebViewNavigationTypeLinkClicked &amp;&amp; [[request.URL absoluteString] isEqualToString: @"yourTag01"])
      {
          NSLog(@"heloo");
          //your custom action code goes here
          return NO;
      }
      return YES;
  }
  </code></pre>
  
  <p>but it does't go in if condition.
  Please help!!!</p>