Question: Click the button webView load the page.Can not find webView object.

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

**Code download：**

<http://code.google.com/p/kacperwangbuttontab/downloads/list>

Answer: 
The syntax is:

```
UITapGestureRecognizer * c1 = [[UITapGestureRecognizer alloc] 
      initWithTarget:[MyGestureRecognizer class]
      action:@selector(ViewWasClicked1:)]; // error

```
To check for and call static methods, you can do this:

```
SEL staticMethodSelector = @selector(methodName);
if ([[ClassName class] respondsToSelector:staticMethodSelector]) {
    [[ClassName class] performSelector:staticMethodSelector];
}

```