I have a CABasicAnimation in the viewWillAppear method of "viewA". when I press a button in viewA to go to viewB and then go back to viewA the CABasicAnimation in the viewWillAppear (of viewA) works without problem. I have a CABasicAnimation in the viewWillAppear