{"id":728,"date":"2014-12-22T19:42:48","date_gmt":"2014-12-22T19:42:48","guid":{"rendered":"http:\/\/blog.anaara.com\/?p=728"},"modified":"2014-12-22T19:48:28","modified_gmt":"2014-12-22T19:48:28","slug":"ios-adaptive-layout-tidbits-constrain-to-margin-in-xcode-6","status":"publish","type":"post","link":"https:\/\/anaara.com\/blog\/2014\/12\/22\/ios-adaptive-layout-tidbits-constrain-to-margin-in-xcode-6\/","title":{"rendered":"iOS Adaptive Layout tidbits: \u201cConstrain to margin\u201d in Xcode 6"},"content":{"rendered":"<p>I&#8217;ve been reading iOS 8 by Tutorials from the Ray Wenderlich Team (<a title=\"Swift by Tutorials Bundle\" href=\"http:\/\/www.raywenderlich.com\/store\/swift-tutorials-bundle\" target=\"_blank\">get the bundle<\/a>, they\u00a0go into an awesome level of detail). \u00a0The first seven chapters are dedicated just to Adaptive Layout. \u00a0They frequently mention to &#8220;uncheck constrain to margins&#8221; so I got to wondering just what this little checkbox was all about.<\/p>\n<p><!--more--> \u00a0It&#8217;s new in Xcode 6 and deals with iOS 8 specific features of auto layout. \u00a0Hint &#8211; if you&#8217;re supporting iOS 7, make sure you uncheck this. \u00a0Here are some informative posts I found on the topic (below). \u00a0And <a title=\"Justin Williams\" href=\"https:\/\/twitter.com\/justin\" target=\"_blank\">Justin<\/a>, wish I heard about your Auto Layout book sooner &#8211; in addition to the RW bundle we just got <a title=\"ios auto layout demystified\" href=\"https:\/\/itunes.apple.com\/us\/book\/ios-auto-layout-demystified\/id727646366?mt=11\" target=\"_blank\">another book just on Auto Layout<\/a>, but even though it&#8217;s copyrighted this year it&#8217;s already a bit dated as it pre-dates iOS 8. \u00a0Still, we&#8217;ll have to check out <a title=\"Achieving Zen with AutoLayout\" href=\"https:\/\/gumroad.com\/l\/autolayout\" target=\"_blank\">your book<\/a> soon. \ud83d\ude42 \u00a0I would suggest though you offer a sample, at least publish the TOC and specify which language (Swift, Objective C, or both) you use for your example code. \u00a0The RW books are all Swift-centric but they do provide Objective-C code samples in addition.<\/p>\n<figure id=\"attachment_729\" aria-describedby=\"caption-attachment-729\" style=\"width: 300px\" class=\"wp-caption alignright\"><a href=\"https:\/\/i0.wp.com\/blog.anaara.com\/wp-content\/uploads\/2014\/12\/Screen_Shot_2014-12-22_at_1_44_30_PM.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"729\" data-permalink=\"https:\/\/anaara.com\/blog\/2014\/12\/22\/ios-adaptive-layout-tidbits-constrain-to-margin-in-xcode-6\/screen_shot_2014-12-22_at_1_44_30_pm\/\" data-orig-file=\"https:\/\/i0.wp.com\/anaara.com\/blog\/wp-content\/uploads\/2014\/12\/Screen_Shot_2014-12-22_at_1_44_30_PM.png?fit=455%2C403&amp;ssl=1\" data-orig-size=\"455,403\" data-comments-opened=\"1\" data-image-title=\"Constrain to Margin\" data-image-description=\"&lt;p&gt;Constrain to Margin&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;Constrain to Margin&lt;\/p&gt;\n\" data-large-file=\"https:\/\/i0.wp.com\/anaara.com\/blog\/wp-content\/uploads\/2014\/12\/Screen_Shot_2014-12-22_at_1_44_30_PM.png?fit=455%2C403&amp;ssl=1\" class=\"size-medium wp-image-729\" src=\"https:\/\/i0.wp.com\/blog.anaara.com\/wp-content\/uploads\/2014\/12\/Screen_Shot_2014-12-22_at_1_44_30_PM-300x266.png?resize=300%2C266\" alt=\"Constrain to Margin\" width=\"300\" height=\"266\" srcset=\"https:\/\/i0.wp.com\/anaara.com\/blog\/wp-content\/uploads\/2014\/12\/Screen_Shot_2014-12-22_at_1_44_30_PM.png?resize=300%2C266&amp;ssl=1 300w, https:\/\/i0.wp.com\/anaara.com\/blog\/wp-content\/uploads\/2014\/12\/Screen_Shot_2014-12-22_at_1_44_30_PM.png?resize=150%2C133&amp;ssl=1 150w, https:\/\/i0.wp.com\/anaara.com\/blog\/wp-content\/uploads\/2014\/12\/Screen_Shot_2014-12-22_at_1_44_30_PM.png?resize=65%2C58&amp;ssl=1 65w, https:\/\/i0.wp.com\/anaara.com\/blog\/wp-content\/uploads\/2014\/12\/Screen_Shot_2014-12-22_at_1_44_30_PM.png?resize=220%2C195&amp;ssl=1 220w, https:\/\/i0.wp.com\/anaara.com\/blog\/wp-content\/uploads\/2014\/12\/Screen_Shot_2014-12-22_at_1_44_30_PM.png?resize=113%2C100&amp;ssl=1 113w, https:\/\/i0.wp.com\/anaara.com\/blog\/wp-content\/uploads\/2014\/12\/Screen_Shot_2014-12-22_at_1_44_30_PM.png?resize=226%2C200&amp;ssl=1 226w, https:\/\/i0.wp.com\/anaara.com\/blog\/wp-content\/uploads\/2014\/12\/Screen_Shot_2014-12-22_at_1_44_30_PM.png?resize=395%2C350&amp;ssl=1 395w, https:\/\/i0.wp.com\/anaara.com\/blog\/wp-content\/uploads\/2014\/12\/Screen_Shot_2014-12-22_at_1_44_30_PM.png?w=455&amp;ssl=1 455w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-729\" class=\"wp-caption-text\">Constrain to Margin<\/figcaption><\/figure>\n<p>More on Constrain to margin:<\/p>\n<p><a class=\"question-hyperlink\" href=\"http:\/\/stackoverflow.com\/questions\/25807545\/what-is-constrain-to-margin-in-storyboard-in-xcode-6\">What is \u201cConstrain to margin\u201d in Storyboard in Xcode 6<\/a><\/p>\n<p><a title=\"Auto Layout In iOS 8 - Layout Margins\">Auto Layout In iOS 8 &#8211; Layout Margins<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been reading iOS 8 by Tutorials from the Ray Wenderlich Team (get the bundle, they\u00a0go into an awesome level of detail). \u00a0The first seven chapters are dedicated just to Adaptive Layout. \u00a0They frequently mention to &#8220;uncheck constrain to margins&#8221; so I got to wondering just what this little checkbox was all about.<\/p>\n","protected":false},"author":2,"featured_media":729,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[13,73,95],"tags":[],"class_list":["post-728","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-books","category-ios","category-swift-programming-language"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v29.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>iOS Adaptive Layout tidbits: \u201cConstrain to margin\u201d in Xcode 6 - \/\/ A Technology Agency \/\/<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/anaara.com\/blog\/2014\/12\/22\/ios-adaptive-layout-tidbits-constrain-to-margin-in-xcode-6\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"iOS Adaptive Layout tidbits: \u201cConstrain to margin\u201d in Xcode 6 - \/\/ A Technology Agency \/\/\" \/>\n<meta property=\"og:description\" content=\"I&#8217;ve been reading iOS 8 by Tutorials from the Ray Wenderlich Team (get the bundle, they\u00a0go into an awesome level of detail). \u00a0The first seven chapters are dedicated just to Adaptive Layout. \u00a0They frequently mention to &#8220;uncheck constrain to margins&#8221; so I got to wondering just what this little checkbox was all about.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/anaara.com\/blog\/2014\/12\/22\/ios-adaptive-layout-tidbits-constrain-to-margin-in-xcode-6\/\" \/>\n<meta property=\"og:site_name\" content=\"\/\/ A Technology Agency \/\/\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/anaarallc\" \/>\n<meta property=\"article:published_time\" content=\"2014-12-22T19:42:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2014-12-22T19:48:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/anaara.com\/blog\/wp-content\/uploads\/2014\/12\/Screen_Shot_2014-12-22_at_1_44_30_PM.png?fit=455%2C403&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"455\" \/>\n\t<meta property=\"og:image:height\" content=\"403\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Fuad Kamal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@anaarallc\" \/>\n<meta name=\"twitter:site\" content=\"@anaarallc\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fuad Kamal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/2014\\\/12\\\/22\\\/ios-adaptive-layout-tidbits-constrain-to-margin-in-xcode-6\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/2014\\\/12\\\/22\\\/ios-adaptive-layout-tidbits-constrain-to-margin-in-xcode-6\\\/\"},\"author\":{\"name\":\"Fuad Kamal\",\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/#\\\/schema\\\/person\\\/48a641bbae357bfb309a545861f38470\"},\"headline\":\"iOS Adaptive Layout tidbits: \u201cConstrain to margin\u201d in Xcode 6\",\"datePublished\":\"2014-12-22T19:42:48+00:00\",\"dateModified\":\"2014-12-22T19:48:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/2014\\\/12\\\/22\\\/ios-adaptive-layout-tidbits-constrain-to-margin-in-xcode-6\\\/\"},\"wordCount\":229,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/2014\\\/12\\\/22\\\/ios-adaptive-layout-tidbits-constrain-to-margin-in-xcode-6\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/anaara.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/12\\\/Screen_Shot_2014-12-22_at_1_44_30_PM.png?fit=455%2C403&ssl=1\",\"articleSection\":[\"books\",\"iOS\",\"Swift Programming Language\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/anaara.com\\\/blog\\\/2014\\\/12\\\/22\\\/ios-adaptive-layout-tidbits-constrain-to-margin-in-xcode-6\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/2014\\\/12\\\/22\\\/ios-adaptive-layout-tidbits-constrain-to-margin-in-xcode-6\\\/\",\"url\":\"https:\\\/\\\/anaara.com\\\/blog\\\/2014\\\/12\\\/22\\\/ios-adaptive-layout-tidbits-constrain-to-margin-in-xcode-6\\\/\",\"name\":\"iOS Adaptive Layout tidbits: \u201cConstrain to margin\u201d in Xcode 6 - \\\/\\\/ A Technology Agency \\\/\\\/\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/2014\\\/12\\\/22\\\/ios-adaptive-layout-tidbits-constrain-to-margin-in-xcode-6\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/2014\\\/12\\\/22\\\/ios-adaptive-layout-tidbits-constrain-to-margin-in-xcode-6\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/anaara.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/12\\\/Screen_Shot_2014-12-22_at_1_44_30_PM.png?fit=455%2C403&ssl=1\",\"datePublished\":\"2014-12-22T19:42:48+00:00\",\"dateModified\":\"2014-12-22T19:48:28+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/2014\\\/12\\\/22\\\/ios-adaptive-layout-tidbits-constrain-to-margin-in-xcode-6\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/anaara.com\\\/blog\\\/2014\\\/12\\\/22\\\/ios-adaptive-layout-tidbits-constrain-to-margin-in-xcode-6\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/2014\\\/12\\\/22\\\/ios-adaptive-layout-tidbits-constrain-to-margin-in-xcode-6\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/anaara.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/12\\\/Screen_Shot_2014-12-22_at_1_44_30_PM.png?fit=455%2C403&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/anaara.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/12\\\/Screen_Shot_2014-12-22_at_1_44_30_PM.png?fit=455%2C403&ssl=1\",\"width\":455,\"height\":403,\"caption\":\"Constrain to Margin\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/2014\\\/12\\\/22\\\/ios-adaptive-layout-tidbits-constrain-to-margin-in-xcode-6\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/anaara.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"iOS Adaptive Layout tidbits: \u201cConstrain to margin\u201d in Xcode 6\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/anaara.com\\\/blog\\\/\",\"name\":\"\\\/\\\/ A Technology Agency \\\/\\\/\",\"description\":\"Mobile Strategy &amp; Development\",\"publisher\":{\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/anaara.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/#organization\",\"name\":\"\\\/\\\/ A Technology Agency \\\/\\\/\",\"url\":\"https:\\\/\\\/anaara.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/anaara.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/10\\\/anaara-logo-cmyk.png?fit=810%2C528&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/anaara.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/10\\\/anaara-logo-cmyk.png?fit=810%2C528&ssl=1\",\"width\":810,\"height\":528,\"caption\":\"\\\/\\\/ A Technology Agency \\\/\\\/\"},\"image\":{\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/anaarallc\",\"https:\\\/\\\/x.com\\\/anaarallc\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/#\\\/schema\\\/person\\\/48a641bbae357bfb309a545861f38470\",\"name\":\"Fuad Kamal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7ba19726070d9cb9be92d683554ed15ed54ccb89c66abe98f22b790f5e26392e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7ba19726070d9cb9be92d683554ed15ed54ccb89c66abe98f22b790f5e26392e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7ba19726070d9cb9be92d683554ed15ed54ccb89c66abe98f22b790f5e26392e?s=96&d=mm&r=g\",\"caption\":\"Fuad Kamal\"},\"description\":\"With a background in biotechnology, Fuad began his career developing assays and cutting edge technologies around HIV research. From there he shifted into the bioinformatics arena, where he developed innovative information systems in Perl. He started playing with the Flash platform around the time Flash 4 was released, and later developed the flash interface for the Flight Information Display System (FIDS) that you see at pretty much every major airport around the world today. Fuad loves delving into new technologies and pushing technologies in novel directions. Currently he is focused on providing mobile strategy &amp; development for the Health &amp; Fitness markets. He is an iOS developer, teaches an Android &amp; Kotlin college course, and is currently writing The Kotlin Book http:\\\/\\\/thekotlinbook.com. Fuad has often applied principals he learned from his study of the martial arts to mentoring others as well as taking a unique approach to problem solving. He has found that quite often, the barriers we set before us are more mental than anything else, and the key to overcoming them lies in understanding this concept.\",\"sameAs\":[\"http:\\\/\\\/fuadkamal.org\"],\"url\":\"https:\\\/\\\/anaara.com\\\/blog\\\/author\\\/abunur\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"iOS Adaptive Layout tidbits: \u201cConstrain to margin\u201d in Xcode 6 - \/\/ A Technology Agency \/\/","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/anaara.com\/blog\/2014\/12\/22\/ios-adaptive-layout-tidbits-constrain-to-margin-in-xcode-6\/","og_locale":"en_US","og_type":"article","og_title":"iOS Adaptive Layout tidbits: \u201cConstrain to margin\u201d in Xcode 6 - \/\/ A Technology Agency \/\/","og_description":"I&#8217;ve been reading iOS 8 by Tutorials from the Ray Wenderlich Team (get the bundle, they\u00a0go into an awesome level of detail). \u00a0The first seven chapters are dedicated just to Adaptive Layout. \u00a0They frequently mention to &#8220;uncheck constrain to margins&#8221; so I got to wondering just what this little checkbox was all about.","og_url":"https:\/\/anaara.com\/blog\/2014\/12\/22\/ios-adaptive-layout-tidbits-constrain-to-margin-in-xcode-6\/","og_site_name":"\/\/ A Technology Agency \/\/","article_publisher":"https:\/\/www.facebook.com\/anaarallc","article_published_time":"2014-12-22T19:42:48+00:00","article_modified_time":"2014-12-22T19:48:28+00:00","og_image":[{"width":455,"height":403,"url":"https:\/\/i0.wp.com\/anaara.com\/blog\/wp-content\/uploads\/2014\/12\/Screen_Shot_2014-12-22_at_1_44_30_PM.png?fit=455%2C403&ssl=1","type":"image\/png"}],"author":"Fuad Kamal","twitter_card":"summary_large_image","twitter_creator":"@anaarallc","twitter_site":"@anaarallc","twitter_misc":{"Written by":"Fuad Kamal","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/anaara.com\/blog\/2014\/12\/22\/ios-adaptive-layout-tidbits-constrain-to-margin-in-xcode-6\/#article","isPartOf":{"@id":"https:\/\/anaara.com\/blog\/2014\/12\/22\/ios-adaptive-layout-tidbits-constrain-to-margin-in-xcode-6\/"},"author":{"name":"Fuad Kamal","@id":"https:\/\/anaara.com\/blog\/#\/schema\/person\/48a641bbae357bfb309a545861f38470"},"headline":"iOS Adaptive Layout tidbits: \u201cConstrain to margin\u201d in Xcode 6","datePublished":"2014-12-22T19:42:48+00:00","dateModified":"2014-12-22T19:48:28+00:00","mainEntityOfPage":{"@id":"https:\/\/anaara.com\/blog\/2014\/12\/22\/ios-adaptive-layout-tidbits-constrain-to-margin-in-xcode-6\/"},"wordCount":229,"commentCount":0,"publisher":{"@id":"https:\/\/anaara.com\/blog\/#organization"},"image":{"@id":"https:\/\/anaara.com\/blog\/2014\/12\/22\/ios-adaptive-layout-tidbits-constrain-to-margin-in-xcode-6\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/anaara.com\/blog\/wp-content\/uploads\/2014\/12\/Screen_Shot_2014-12-22_at_1_44_30_PM.png?fit=455%2C403&ssl=1","articleSection":["books","iOS","Swift Programming Language"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/anaara.com\/blog\/2014\/12\/22\/ios-adaptive-layout-tidbits-constrain-to-margin-in-xcode-6\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/anaara.com\/blog\/2014\/12\/22\/ios-adaptive-layout-tidbits-constrain-to-margin-in-xcode-6\/","url":"https:\/\/anaara.com\/blog\/2014\/12\/22\/ios-adaptive-layout-tidbits-constrain-to-margin-in-xcode-6\/","name":"iOS Adaptive Layout tidbits: \u201cConstrain to margin\u201d in Xcode 6 - \/\/ A Technology Agency \/\/","isPartOf":{"@id":"https:\/\/anaara.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/anaara.com\/blog\/2014\/12\/22\/ios-adaptive-layout-tidbits-constrain-to-margin-in-xcode-6\/#primaryimage"},"image":{"@id":"https:\/\/anaara.com\/blog\/2014\/12\/22\/ios-adaptive-layout-tidbits-constrain-to-margin-in-xcode-6\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/anaara.com\/blog\/wp-content\/uploads\/2014\/12\/Screen_Shot_2014-12-22_at_1_44_30_PM.png?fit=455%2C403&ssl=1","datePublished":"2014-12-22T19:42:48+00:00","dateModified":"2014-12-22T19:48:28+00:00","breadcrumb":{"@id":"https:\/\/anaara.com\/blog\/2014\/12\/22\/ios-adaptive-layout-tidbits-constrain-to-margin-in-xcode-6\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/anaara.com\/blog\/2014\/12\/22\/ios-adaptive-layout-tidbits-constrain-to-margin-in-xcode-6\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/anaara.com\/blog\/2014\/12\/22\/ios-adaptive-layout-tidbits-constrain-to-margin-in-xcode-6\/#primaryimage","url":"https:\/\/i0.wp.com\/anaara.com\/blog\/wp-content\/uploads\/2014\/12\/Screen_Shot_2014-12-22_at_1_44_30_PM.png?fit=455%2C403&ssl=1","contentUrl":"https:\/\/i0.wp.com\/anaara.com\/blog\/wp-content\/uploads\/2014\/12\/Screen_Shot_2014-12-22_at_1_44_30_PM.png?fit=455%2C403&ssl=1","width":455,"height":403,"caption":"Constrain to Margin"},{"@type":"BreadcrumbList","@id":"https:\/\/anaara.com\/blog\/2014\/12\/22\/ios-adaptive-layout-tidbits-constrain-to-margin-in-xcode-6\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/anaara.com\/blog\/"},{"@type":"ListItem","position":2,"name":"iOS Adaptive Layout tidbits: \u201cConstrain to margin\u201d in Xcode 6"}]},{"@type":"WebSite","@id":"https:\/\/anaara.com\/blog\/#website","url":"https:\/\/anaara.com\/blog\/","name":"\/\/ A Technology Agency \/\/","description":"Mobile Strategy &amp; Development","publisher":{"@id":"https:\/\/anaara.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/anaara.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/anaara.com\/blog\/#organization","name":"\/\/ A Technology Agency \/\/","url":"https:\/\/anaara.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/anaara.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/anaara.com\/blog\/wp-content\/uploads\/2015\/10\/anaara-logo-cmyk.png?fit=810%2C528&ssl=1","contentUrl":"https:\/\/i0.wp.com\/anaara.com\/blog\/wp-content\/uploads\/2015\/10\/anaara-logo-cmyk.png?fit=810%2C528&ssl=1","width":810,"height":528,"caption":"\/\/ A Technology Agency \/\/"},"image":{"@id":"https:\/\/anaara.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/anaarallc","https:\/\/x.com\/anaarallc"]},{"@type":"Person","@id":"https:\/\/anaara.com\/blog\/#\/schema\/person\/48a641bbae357bfb309a545861f38470","name":"Fuad Kamal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/7ba19726070d9cb9be92d683554ed15ed54ccb89c66abe98f22b790f5e26392e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/7ba19726070d9cb9be92d683554ed15ed54ccb89c66abe98f22b790f5e26392e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7ba19726070d9cb9be92d683554ed15ed54ccb89c66abe98f22b790f5e26392e?s=96&d=mm&r=g","caption":"Fuad Kamal"},"description":"With a background in biotechnology, Fuad began his career developing assays and cutting edge technologies around HIV research. From there he shifted into the bioinformatics arena, where he developed innovative information systems in Perl. He started playing with the Flash platform around the time Flash 4 was released, and later developed the flash interface for the Flight Information Display System (FIDS) that you see at pretty much every major airport around the world today. Fuad loves delving into new technologies and pushing technologies in novel directions. Currently he is focused on providing mobile strategy &amp; development for the Health &amp; Fitness markets. He is an iOS developer, teaches an Android &amp; Kotlin college course, and is currently writing The Kotlin Book http:\/\/thekotlinbook.com. Fuad has often applied principals he learned from his study of the martial arts to mentoring others as well as taking a unique approach to problem solving. He has found that quite often, the barriers we set before us are more mental than anything else, and the key to overcoming them lies in understanding this concept.","sameAs":["http:\/\/fuadkamal.org"],"url":"https:\/\/anaara.com\/blog\/author\/abunur\/"}]}},"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p98TfX-bK","jetpack_likes_enabled":true,"jetpack-related-posts":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/anaara.com\/blog\/wp-content\/uploads\/2014\/12\/Screen_Shot_2014-12-22_at_1_44_30_PM.png?fit=455%2C403&ssl=1","_links":{"self":[{"href":"https:\/\/anaara.com\/blog\/wp-json\/wp\/v2\/posts\/728","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/anaara.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/anaara.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/anaara.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/anaara.com\/blog\/wp-json\/wp\/v2\/comments?post=728"}],"version-history":[{"count":3,"href":"https:\/\/anaara.com\/blog\/wp-json\/wp\/v2\/posts\/728\/revisions"}],"predecessor-version":[{"id":732,"href":"https:\/\/anaara.com\/blog\/wp-json\/wp\/v2\/posts\/728\/revisions\/732"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/anaara.com\/blog\/wp-json\/wp\/v2\/media\/729"}],"wp:attachment":[{"href":"https:\/\/anaara.com\/blog\/wp-json\/wp\/v2\/media?parent=728"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/anaara.com\/blog\/wp-json\/wp\/v2\/categories?post=728"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/anaara.com\/blog\/wp-json\/wp\/v2\/tags?post=728"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}