- (void)viewWillAppear:(BOOL)animated {
[superviewWillAppear:animated];
if(figMark<1) {
//请求数(非开盘期间进入这个页面也要重新请求一次),因为请求数据是异步操作,所以线程开启放到请求数据成功或者失败后。
[self requestStockData];
figMark++;
}
}
-(void)viewDidDisappear:(BOOL)animated{
[superviewWillDisappear:animated];
figMark--;
}