UIRefreshControl incorrect title offset during first run and sometimes title missing

前端 未结 8 970
自闭症患者
自闭症患者 2020-12-04 15:46

The text is offset wrong by the first launch of UIRefreshControl... later sometimes the refresh text doesn\'t show up at all and just the spiny is visible

I don\'t t

8条回答
  •  被撕碎了的回忆
    2020-12-04 16:36

    calling endRefreshing under viewWillAppear did it for me:

    -(void)viewWillAppear:(BOOL)animated
    {
        [super viewWillAppear:animated];
    
        [self.refreshControl endRefreshing];
    }
    

    Under iOS7 with a custom UITableViewController inside a UINavigationController

提交回复
热议问题