Commit 199431fd authored by Sandy's avatar Sandy

增加点击阴影隐藏筛选面板

parent 757ea8fe
...@@ -46,6 +46,9 @@ ...@@ -46,6 +46,9 @@
self.shadow = [[UIView alloc] initWithFrame:self.view.bounds]; self.shadow = [[UIView alloc] initWithFrame:self.view.bounds];
self.shadow.backgroundColor = [UIColor clearColor]; self.shadow.backgroundColor = [UIColor clearColor];
[self.view insertSubview:self.shadow belowSubview:self.board]; [self.view insertSubview:self.shadow belowSubview:self.board];
UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(hideFilterView)];
[self.shadow addGestureRecognizer:tap];
} }
- (IBAction)actionBac:(id)sender { - (IBAction)actionBac:(id)sender {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment