IOS 单击手势的添加实现代码
一,效果图。
二,工程图。
三,代码。
RootViewController.h
#import <UIKit>
@interface RootViewController : UIViewController
<UIGestureRecognizerDelegate>
@end
RootViewController.m
#import RootViewController.h
@interface RootViewController ()
@end
@implementation RootViewController
- (i