MBProgressHUD with CustomView: Why can't I animate my custom view?
问题 This somehow doesn't work...why? How can I achieve a spinning custom propeller without making a gif out of the animation? -(UIView *)propTest { UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 37, 37)]; UIImageView *movablePropeller = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 37 , 37)]; movablePropeller.image = [UIImage imageNamed:@"MovablePropeller"]; [view addSubview:movablePropeller]; movablePropeller.center = view.center; CABasicAnimation *rotation; rotation =