.h:

  UIActivityIndicatorView* progressView;

.m:

  // show the waiting symbol

   progressView = [[UIActivityIndicatorView alloc]

   initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge];

  [progressView setCenter:CGPointMake(160.0f, 240.0f)];

  [progressView startAnimating];

  [self.view addSubview:progressView];


  // dismiss the waiting symbol

  [progressView removeFromSuperview];

  [progressView stopAnimating];

  [progressView release];


相关文章:

  • 2021-08-22
  • 2022-02-28
  • 2021-07-31
  • 2021-12-31
  • 2022-01-11
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-05
  • 2022-12-23
  • 2021-12-31
  • 2021-12-15
  • 2021-12-22
相关资源
相似解决方案