开发者社区 问答 正文

关于ios 一个停不下来的仪表盘的问题

RT,遇到一个奇怪的问题,我想要仪表盘在离开主页面的时候停止,回到主页面继续转,我现在做出来的只能一直转,离开页面了他也在转,跟吃了炫迈似的,根本停不下来,不知道是什么原因,麻烦大神们帮忙看看是什么原因

demo我放上网盘了仪表盘demo

展开
收起
爵霸 2016-03-13 09:40:16 2125 分享 版权
1 条回答
写回答
取消 提交回答
  • (IBAction)nextVC:(UIBarButtonItem *)sender { self.rota = NO; // [self.tableView reloadRowsAtIndexPaths:@[[NSIndexPath indexPathForRow:0 inSection:0]] withRowAnimation:UITableViewRowAnimationFade]; GagueCell *cell = (GagueCell *)[[self.tableView visibleCells] objectAtIndex:0]; cell.isRefresh = NO; [self performSegueWithIdentifier:@"next" sender:nil]; NSLog(@"nextVC");
    
    }

    改下这个方法

    2019-07-17 19:01:48
    赞同 展开评论
问答分类:
问答地址: