Commit 38424173 authored by 汪洋's avatar 汪洋

添加分享完成回调

parent 40120c0f
......@@ -49,6 +49,8 @@
/** 取消分享 */
- (void)cancleShareView;
- (void)shareViewDidClose;
@end
......
......@@ -526,6 +526,9 @@ static NSString *shareCellIdentifier = @"shareCellIdentifier";
self.backgroundColor = [UIColor colorWithRed:0 green:0 blue:0 alpha:0];
} completion:^(BOOL finished) {
[self removeFromSuperview];
if ([self.delegate respondsToSelector:@selector(shareViewDidClose)]) {
[self.delegate shareViewDidClose];
}
}];
}
......
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