spinner = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhite]; [spinner startAnimating]; [spinner setUserInteractionEnabled:NO]; // setting UserInteractionEnable to NO, any touch events are forwarded to…
UIActivityIndicatorView override func viewDidLoad() { super.viewDidLoad() titleLabel.text = titleString // Do any additional setup after loading the view. //创建活动指示器 var activityView:UIActivityIndicatorView = UIActivityIndicatorView(frame: CGRectMake(…