Skip to content

Instantly share code, notes, and snippets.

@mrsidique
Created July 31, 2012 12:43
Show Gist options
  • Select an option

  • Save mrsidique/3216788 to your computer and use it in GitHub Desktop.

Select an option

Save mrsidique/3216788 to your computer and use it in GitHub Desktop.
faceDirectionValueLabel.text = @"3.33";
[faceDirectionValueLabel sizeToFit];
[faceDirectionValueLabel setFrame:CGRectMake(faceDirectionView.frame.size.width/2 - faceDirectionValueLabel.frame.size.width/2, faceDirectionValueLabel.frame.origin.y, faceDirectionValueLabel.frame.size.width, 47)];
degreeLabel.frame = CGRectMake(faceDirectionValueLabel.frame.origin.x + faceDirectionValueLabel.frame.size.width - 2, 49, 24, 30);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment