美文网首页
简单的Loding

简单的Loding

作者: Rumbles | 来源:发表于2018-09-04 17:50 被阅读3次
    UIActivityIndicatorView *indicator = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge];
    indicator.size = CGSizeMake(80, 80);
    indicator.center = CGPointMake(self.view.width / 2, self.view.height / 2);
    indicator.backgroundColor = [UIColor colorWithWhite:0.000 alpha:0.670];
    indicator.clipsToBounds = YES;
    indicator.layer.cornerRadius = 6;
    [indicator startAnimating];
    [self.view addSubview:indicator];

    相关文章

      网友评论

          本文标题:简单的Loding

          本文链接:https://www.haomeiwen.com/subject/mqzpwftx.html