static char const * const LMEmptyDataSetView = "emptyDataSetView";
- (void)emptyDataSetDidAppear:(UIScrollView *)scrollView{
CGRect frame = scrollView.frame;
frame.origin.y = 0;
UIView *view = objc_getAssociatedObject(self.lm_tableView,LMEmptyDataSetView);
if (view) {
view.frame = frame;
}
}
原文地址:https://github.com/Mr-yuwei/iOS-Notes/blob/master/CommonError.md
网友评论