title: Create a floating button over a UITableView
body: <p>I saw <a href="https://stackoverflow.com/questions/11605085/ios-floating-button-over-table-view">iOS floating button over table view</a> regarding how to create a floating button. This is the way I create the button. The problem is that the button will scroll with the table view.</p>
  
  <pre><code>UIButton *button = [UIButton buttonWithType:UIButtonTypeRoundedRect];
  [button addTarget:self 
             action:@selector(aMethod:)
   forControlEvents:UIControlEventTouchDown];
  [button setTitle:@"Show View" forState:UIControlStateNormal];
  button.frame = CGRectMake(80.0, 210.0, 160.0, 40.0);
  [view addSubview:button]; 
  </code></pre>
  
  <p>How can I fix that?</p>
  
  <p>I suggest you use <a href="https://github.com/gizmoboy7/VCFloatingActionButton" rel="nofollow noreferrer">https://github.com/gizmoboy7/VCFloatingActionButton</a> this link....hope it will work for you</p>