// // HistoryRecordPage.m // pregnancy_guard // // Created by WindShan on 2017/7/11. // Copyright © 2017年 WindShan. All rights reserved. // #import "HistoryRecordPage.h" @interface HistoryRecordPage () @end @implementation HistoryRecordPage - (void)viewDidLoad { [super viewDidLoad]; self.title = @"历史记录"; [self setNavigationLeft:@"ic_back_arraw.png" sel:@selector(backAticon)]; UIImageView * ic_bottom_bg = [[UIImageView alloc] initWithFrame:CGRectMake(0, SCREEN_HEIGHT-112-64, SCREEN_WIDTH, 112)]; ic_bottom_bg.image = [UIImage imageNamed:@"ic_bottom_bg"]; [self.view addSubview:ic_bottom_bg]; UIImageView * ic_time_bk = [[UIImageView alloc] initWithFrame:CGRectMake(0, 10 , SCREEN_WIDTH, 112)]; ic_time_bk.image = [UIImage imageNamed:@"ic_time_bk"]; [self.view addSubview:ic_time_bk]; // Do any additional setup after loading the view. } -(void)backAticon { //[self.navigationController popToViewController:self animated:YES]; [self dismissViewControllerAnimated:YES completion:nil]; } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated. } /* #pragma mark - Navigation // In a storyboard-based application, you will often want to do a little preparation before navigation - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { // Get the new view controller using [segue destinationViewController]. // Pass the selected object to the new view controller. } */ @end