A custom ActivityIndicaotrView used in iOS.
FDActivityIndicatorView is a activity indicatorview which shows a circle rotating, it is similar to wechat login activity indicator view. Also it supports to set the size accroding to it's frame and set the color of the circle.
- Down the FDActivityIndicatorView.h and FDActivityIndicatorView.m source file.
- Add the two source files to your project.
- Import the FDActivityIndicatorView.h file where you want to use it.
FDActivityIndicatorView *indicatorView = [[FDActivityIndicatorView alloc] initWithFrame:CGRectMake(50, 250, 200, 200)];
indicatorView.color = [UIColor redColor];
[self.view addSubview:indicatorView];
#License MIT