//
//  HomeViewController.m
//  HDMall
//
//  Created by Javen on 2017/7/28.
//  Copyright © 2017年 上海勾芒信息科技. All rights reserved.
//

#import "HomeViewController.h"
#import "HomeWeatherBoard.h"
@interface HomeViewController ()
@property (strong, nonatomic) HomeWeatherBoard *homeBoard;
@end

@implementation HomeViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
    [self.navigationController setNavigationBarHidden:YES animated:NO];
    //防止底部出现黑边
    self.view.frame = CGRectMake(0, 0, kWidth, kHeight);
    [self.view layoutIfNeeded];
}

- (UIStatusBarStyle)preferredStatusBarStyle {
    return UIStatusBarStyleDefault;
}

ZJLazy(HomeWeatherBoard, homeBoard)
@end
