From 22aac67aa3422be4ee60c88970c9c423fbbe7977 Mon Sep 17 00:00:00 2001 From: nvtu Date: Thu, 12 Oct 2017 22:59:43 +0700 Subject: [PATCH] Always request again when history view appear --- LifeLog/LifeLog/HistoryViewController.m | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/LifeLog/LifeLog/HistoryViewController.m b/LifeLog/LifeLog/HistoryViewController.m index 0c595a0..9f383d1 100644 --- a/LifeLog/LifeLog/HistoryViewController.m +++ b/LifeLog/LifeLog/HistoryViewController.m @@ -33,8 +33,6 @@ self.lblDatetime.text = [Utilities stringFromDate:_endDate withFormat:@"YYYY年MM月dd日 EEEE" locale:@"ja_JP"]; - [self checkRequestData]; - //register nib for table view [self.tableBase registerNib:[UINib nibWithNibName:@"HistoryListTableViewCell" bundle:nil] forCellReuseIdentifier:@"HistoryListCell"]; } @@ -45,7 +43,7 @@ self.scrollView.contentSize = CGSizeMake(self.view.frame.size.width, 400); [self.scrollView setNeedsLayout]; [self.scrollView setNeedsUpdateConstraints]; - + [self checkRequestData]; } - (void)didReceiveMemoryWarning { -- 1.8.5.3