Skip to content

Instantly share code, notes, and snippets.

@jeffbailey
Created August 23, 2013 13:54
Show Gist options
  • Save jeffbailey/6319569 to your computer and use it in GitHub Desktop.
Save jeffbailey/6319569 to your computer and use it in GitHub Desktop.
[NSLayoutConstraint constraintWithItem:view
attribute:NSLayoutAttributeCenterX
relatedBy:NSLayoutRelationEqual
toItem:view.superview
attribute:NSLayoutAttributeCenterX
multiplier:1.f constant:0.f];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment