分类: iOS平台
2015-10-08 11:11:39
UITapGestureRecognizer *tapGesture = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(tappedBackGroundView)];
[self.backGroundView addGestureRecognizer:tapGesture];
[self addSubview:self.backGroundView];