- iOS 8.0+
- Xcode 8.0+
- pod 'LTIndicatorView'
- (void)viewDidLayoutSubviews {
[super viewDidLayoutSubviews];
UIImage *image= [UIImage imageNamed:@"xxxx"];
[self.tableView registerILSIndicator:image imageSize:CGSizeMake(xx, xx)];
}
!!! 由于需要确定LTIndicatorView位置,所以注册时需要知道LTIndicatorView 的frame,所以在viewDidLayoutSubviews调用了