DGActivityIndicatorView指标视图样式包
DGActivityIndicatorView 可以让你的应用中的加载旋桨(loading spinners) 变得更加好看,它包括6种不同的指示器视图风格。
示例:
DGActivityIndicatorView *activityIndicatorView = [[DGActivityIndicatorView alloc] initWithType:DGActivityIndicatorAnimationTypeDoubleBounce tintColor:[UIColor whiteColor] size:20.0f]; activityIndicatorView.frame = CGRectMake(0.0f, 0.0f, 50.0f, 50.0f); [self.view addSubview:activityIndicatorView]; [activityIndicatorView startAnimating];
评论