title: How to add action for UIButton
body: <p>I am new to iPhone technology. Please anyone tell me how to add action for UIButton.</p>
  
  <pre><code>UIButton *btn = [UIButton buttonWithType:UIButtonTypeRoundedRect];
  btn.frame = CGRectMake(0, 0, 100, 25);
  btn.backgroundColor = [UIColor clearColor];
  [btn setTitle:@"Play" forState:UIControlStateNormal];
  [btn addTarget:self action:(buttonClick:) forControlEvents:UIControlEventTouchUpInside];
  btn.center = self.center;
  [self addSubview:btn];
  </code></pre>