UIRefreshControl이 프로그래밍 방식으로 시작된 경우 (beginRefreshing 및 endRefreshing) 표시되지 않으면 다음 수동 새로 고침시 UIRefreshControl 애니메이션에 깜박임이 계속 발생합니다. UIRefreshControl iOS7에서 깜박임
가있는 UITableViewController 하위 클래스에서이 메서드를 추가, 2 초 후 새로 고침 풀을 당신은 깜박임이 깜박임을 방지하는 방법-(void)viewDidAppear:(BOOL)animated
{
[super viewDidAppear:animated];
UIRefreshControl * refreshControl = [[UIRefreshControl alloc] init];
self.refreshControl = refreshControl;
[self.refreshControl beginRefreshing];
double delayInSeconds = 2.0;
dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW,
(int64_t)(delayInSeconds * NSEC_PER_SEC));
dispatch_after(popTime, dispatch_get_main_queue(), ^(void){
[self.refreshControl endRefreshing];
});
}
을 볼 것인가?
나는 그것이 버그라고 생각한다. 며칠 전 동일한 행동을 경험했습니다. –
메일 앱 (적어도 iPad에서는)을 살펴보고, 업데이트를 시작한 다음 다시 당길 때 새로 고침 컨트롤이 깜박입니다. –