Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to always visible scroller of Tableview in Obj c?

I want to show user there is a more content below but UITableView only shows scroll indicator when we scroll the tableview. There is any way, so I can show scroll indicator always

like image 438
Mahek Avatar asked Aug 05 '10 07:08

Mahek


1 Answers

-(void)viewDidAppear:(BOOL)animated{

 timer = [NSTimer scheduledTimerWithTimeInterval:0.8 target:self selector:@selector(indicator:) userInfo:nil repeats:YES];

}

-(void)viewDidDisappear:(BOOL)animated{
       [timer invalidate];
}

-(void)indicator:(BOOL)animated{
      [tableViewer flashScrollIndicators];
    NSLog(@"asda");
}

Just blink the scrollbar

like image 137
markdavis Avatar answered Sep 22 '22 17:09

markdavis