Commit 85a34884 authored by 朱璇's avatar 朱璇

fix 视频面诊主要数据加载失败 navigationbar 被遮挡的问题

parent b1c3f699
......@@ -21,6 +21,18 @@
[self addNotification];
}
- (void)showEmptyView:(GMEmptyViewType)type {
[super showEmptyView:type];
if (self.emptyView.superview != nil) {
[self.emptyView mas_remakeConstraints:^(MASConstraintMaker *make) {
make.left.mas_equalTo(0);
make.right.mas_equalTo(0);
make.top.mas_equalTo(OCNavigationBar.barHeight);
make.bottom.mas_equalTo(0);
}];
}
}
- (void)addNotification {
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(click_status:) name:@"appdelegate_touch_status" object:self.subViewVc];
}
......
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