I know, this is a stupid stupid question but after one day trying everything I've seen searching, I am uncapable of moving a UILabel, the code is this one:
CGRect frame = self.label_total.frame;
frame.origin.x = 500; // new x coordinate
frame.origin.y = 500; // new y coordinate
self.label_total.frame = frame;
it works if I insert it in a IBAction, but I want to insert it in viewDidLoad, but It doesnt work. Please help me.
CGRect frame = self.label_total.frame;
frame.origin.x = 500; // new x coordinate
frame.origin.y = 500; // new y coordinate
self.label_total.frame = frame;
it works if I insert it in a IBAction, but I want to insert it in viewDidLoad, but It doesnt work. Please help me.