Skip to content

Instantly share code, notes, and snippets.

@nickfox
Created November 8, 2013 07:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nickfox/7367548 to your computer and use it in GitHub Desktop.
Save nickfox/7367548 to your computer and use it in GitHub Desktop.
UIViewAutoresizing
Options for automatic view resizing.
enum {
UIViewAutoresizingNone = 0,
UIViewAutoresizingFlexibleLeftMargin = 1 << 0,
UIViewAutoresizingFlexibleWidth = 1 << 1,
UIViewAutoresizingFlexibleRightMargin = 1 << 2,
UIViewAutoresizingFlexibleTopMargin = 1 << 3,
UIViewAutoresizingFlexibleHeight = 1 << 4,
UIViewAutoresizingFlexibleBottomMargin = 1 << 5
};
typedef NSUInteger UIViewAutoresizing;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment