I am trying to change the position of a label in my viewDidAppear() method using the following code:
self.StartTextLabel.text = self.starttext
self.StartTextLabel.center.x = ChangeStart.center.x
The text in the label changes just find but the labels position does not change.
I have tried doing this with and without the code being within
dispatch_async(dispatch_get_mail_queue()){
}
The label was originally build in the IntefaceBuilder and is linked to my controller via
@IBOutlet weak var StartTextLabel: UILabel!
Does anyone have any idea why the label is not moving?
Thanks