diff --git a/MTInfoPanel/MTInfoPanel/MTInfoPanel.m b/MTInfoPanel/MTInfoPanel/MTInfoPanel.m index db760a3..4c9177d 100644 --- a/MTInfoPanel/MTInfoPanel/MTInfoPanel.m +++ b/MTInfoPanel/MTInfoPanel/MTInfoPanel.m @@ -365,7 +365,7 @@ - (void)finish { -(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { #pragma clang diagnostic push #pragma clang diagnostic ignored "-Warc-performSelector-leaks" - [self performSelector:onTouched_]; + [delegate_ performSelector:onTouched_]; #pragma clang diagnostic pop }