標題:Xcode6 StoryBoard UI零件定位 Constraints 出處:A.PAO designSTUDIO BLOG 時間:Sat, 29 Nov 2014 14:02:14 +0000 作者:apao 地址:https://blog.apao.idv.tw/post/1045/ 內容: File > New > Project iOS > Application > Single View Application 點擊在新視窗中瀏覽此圖片 https://blog.apao.idv.tw/attachment.php?fid=1988 Product Name: Constraints Language:Swift 點擊在新視窗中瀏覽此圖片 https://blog.apao.idv.tw/attachment.php?fid=1989 Simulated Metrics > Size: iPhone4-inch 點擊在新視窗中瀏覽此圖片 https://blog.apao.idv.tw/attachment.php?fid=1990 物件庫中選擇 UI Label 拖至View Controller上 點擊在新視窗中瀏覽此圖片 https://blog.apao.idv.tw/attachment.php?fid=1991 Label> Font:更改大小 點擊在新視窗中瀏覽此圖片 https://blog.apao.idv.tw/attachment.php?fid=1992 Label > Color:更改顏色 點擊在新視窗中瀏覽此圖片 https://blog.apao.idv.tw/attachment.php?fid=1993 Add New Algnment Constraints > Horizontal center in Container 點擊在新視窗中瀏覽此圖片 https://blog.apao.idv.tw/attachment.php?fid=1994 Resolve Auto Layout Issues > update Frames 點擊在新視窗中瀏覽此圖片 https://blog.apao.idv.tw/attachment.php?fid=1995 Show the Size inspector 點擊在新視窗中瀏覽此圖片 https://blog.apao.idv.tw/attachment.php?fid=1996 Align Center Y to: 「Edit」 ≦40 點擊在新視窗中瀏覽此圖片 https://blog.apao.idv.tw/attachment.php?fid=1998 Resolve Auto Layout Issues > update Frames 點擊在新視窗中瀏覽此圖片 https://blog.apao.idv.tw/attachment.php?fid=1997 Show iOS Simulator 點擊在新視窗中瀏覽此圖片 https://blog.apao.idv.tw/attachment.php?fid=2000 Generated by Bo-blog 2.1.1 Release