We are trying to trigger display button from static library project using webview. while integrating static library with single view application we have got the output design. but when we tried to attempt action by clicking on Button its not working.

Below is the code,which we have used inside cocoa touch static library 

```
UIButton *imageButton = [UIButton buttonWithType:UIButtonTypeCustom];

imageButton.frame = CGRectMake(self.view.frame.size.width-50, 10, 50, 50);

[imageButton setImage:[UIImage imageNamed:@"close.png"] forState:UIControlStateNormal];

imageButton.adjustsImageWhenHighlighted = NO;

// [imageButton addTarget:self  action:@selector(close:) forControlEvents:UIControlEventTouchUpInside];

[imageButton addTarget:self action:@selector(hideWebViewBtn:) forControlEvents:UIControlEventTouchUpInside];

-(IBAction)hideWebViewBtn:(id)sender {

      NSLog(@"Hide Button clicked");
     [self.adView removeFromSuperview];
     self.adView = nil;
     return;
 }

```

Below is the screenshot which displayed in single view application after integration and running.
Once i click on the button its not getting clicked.

[![enter image description here](https://i.stack.imgur.com/AjOON.png)](https://i.stack.imgur.com/AjOON.png)