Open macbaszii opened 9 years ago
Which version are you using?
@dzenbot 1.7.2 :)
Would you mind posting a snippet of your custom view's implementation? Sweet design bw!
@dzenbot sure, I'm just using activityIndicatorview while loading
same issue
@dzenbot Do you figure it out ? Just remind, Thanks.
I haven't been able to repro using UIActivityIndicatorView
at least:
- (UIView *)customViewForEmptyDataSet:(UIScrollView *)scrollView
{
UIActivityIndicatorView *activityView = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleGray];
[activityView startAnimating];
return activityView;
}
@dzenbot yeah! there is no problem when using UIActivityIndicatorView.
I have looking this and the code is normal. weird T-T https://github.com/gontovnik/DGActivityIndicatorView/blob/master/DGActivityIndicatorView/DGActivityIndicatorView.m
try reproducing it with a custom UIView init with frame....
As you can see from this photo
I use a custom view for empty data set while loading the data and It always align at x = 0
How to fix it ? Thank in advance.