UIView animation not working when used with DCRoundSwitch
问题 I have done following code for animation inside a selector method of custom UISwitch DCRoundSwitch. if ([[[App.remindersArray objectAtIndex:0] objectAtIndex:3]isEqualToString:@"YES"]){ [firstReminderOnOffButton setSelected:YES]; [swtchDailyReminder setOn:YES]; imgviewDailyReminder.image=[UIImage imageNamed:@"nDailyReminder_On_1.png"]; [UIView beginAnimations:nil context:nil]; [UIView setAnimationDuration:0.35]; [UIView setAnimationDidStopSelector:@selector(animateFadingIn)]; [UIView