长按
//例如长按一个按钮
UILongPressGestureRecognizer * lonPress = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(paste:)];
//获取按钮的标题title
-(void)paste:(UILongPressGestureRecognizer *)ges{
//获取系统剪切板
UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];
UBButton * btn = (UBButton *)ges.view;
pasteboard.string = btn.currentTitle;
//[self showHint:@"已经复制到剪切板"]; 提示用户已经复制
}