In iOS6 I use to have a trick to get the scroll indicators to flash in a UITableView
:
- (void)didMoveToSuperview
{
if (self.superview)
{
[self performSelector:@selector(flashScrollIndicators) withObject:nil afterDelay:0];
}
}
However in iOS7 this seems to not work anymore (it worked in iOS 6), and neither does just doing: [self flashScrollIndicators]
.
Has anyone figured out a way to get the scroll indicators to flash in iOS7?
My guess is that it's a sequence problem, ie you're populating the table after it moves to superview. To fix the issue, either:
viewDidLoad
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.