Animation in label object

Dear all,

i want to create a transition effect on my label so that it comes out from the left side of the view and centre itself in the middle of the screen. i am using “label.center.x -= view.bounds.width” to place the label out of the view, but this is not working as the label is still present in the view. please help.

Regards
Dev

Are you sure you are not overriding that line elsewhere in your code?

Are you sure that line is in a method that is getting called?

yes, i checked for all these things but still no results.