change Label position at runtime
开发者_如何学CHow to change UILabel
position at runtime ??
Thanks.
label.frame = CGRectMake(...);
or
label.center = CGPointMake(...);
label.frame = CGRectMake(newX, newY, label.frame.size.width, label.frame.size.height);
You can also change width and height if needed.
精彩评论