Skip to content

Instantly share code, notes, and snippets.

@pmark
Created August 25, 2011 18:59
Show Gist options
  • Save pmark/1171490 to your computer and use it in GitHub Desktop.
Save pmark/1171490 to your computer and use it in GitHub Desktop.
Position 3DAR logo in the bottom right of the view.
// This code should probably go in sm3darLoadPoints:
// Position 3DAR logo in the bottom right of the view.
CGFloat logoCenterX = sm3dar.view.frame.size.width - 10 - (sm3dar.iconLogo.frame.size.width / 2);
CGFloat logoCenterY = sm3dar.view.frame.size.height - 10 - (sm3dar.iconLogo.frame.size.height / 2);
sm3dar.iconLogo.center = CGPointMake(logoCenterX, logoCenterY);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment