login 适配 se 5s 新增icon 主页修改
This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
[super viewDidLoad];
|
||||
// Do any additional setup after loading the view.
|
||||
|
||||
|
||||
[self.navigationController.navigationBar cnSetBackgroundColor:GIGARGB(216, 216, 216, 1)];
|
||||
|
||||
}
|
||||
|
||||
@@ -33,8 +35,10 @@
|
||||
}
|
||||
|
||||
-(void)viewWillAppear:(BOOL)animated{
|
||||
|
||||
[super viewWillAppear:animated];
|
||||
//[self.navigationController.navigationBar cnSetBackgroundColor:GIGAUIColorFromRGB_A(0xD8D8D8, 0.2)];
|
||||
|
||||
|
||||
}
|
||||
|
||||
-(void)addNavTitile:(NSString *)title{
|
||||
@@ -43,9 +47,13 @@
|
||||
|
||||
}
|
||||
|
||||
//没有网络返回
|
||||
|
||||
- (void)showNoNetWorkView
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
// dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.1f * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
||||
// if (self.currentNetworkStatus < 1) {
|
||||
// dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(2.f * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
||||
@@ -55,8 +63,27 @@
|
||||
// });
|
||||
}
|
||||
|
||||
- (void)removeNoNetWorkView{
|
||||
|
||||
if (_noNetWorkView) {
|
||||
[_noNetWorkView removeFromSuperview];
|
||||
_noNetWorkView = nil;
|
||||
}
|
||||
}
|
||||
- (UIView *)noNetWorkView{
|
||||
if (!_noNetWorkView) {
|
||||
_noNetWorkView = [GiGaNoNetWorkView new];
|
||||
}
|
||||
return _noNetWorkView;
|
||||
}
|
||||
|
||||
-(void)showEmptyView{
|
||||
|
||||
}
|
||||
|
||||
- (void)removeEmtyView{
|
||||
|
||||
|
||||
}
|
||||
|
||||
-(void)testNetworkStatus{
|
||||
|
||||
Reference in New Issue
Block a user