November 29, 2014
File > New > Project
iOS > Application > Single View Application
Product Name: Constraints
Language:Swift
Simulated Metrics >
Size: iPhone4-inch
物件庫中選擇 UI Label 拖至View Controller上
Label> Font:更改大小
Label > Color:更改顏色
Add New Algnment Constraints
> Horizontal center in Container
Resolve Auto Layout Issues
> update Frames
Show the Size inspector
Align Center Y to: 「Edit」
≦40
Resolve Auto Layout Issues
> update Frames
Show iOS Simulator
iOS > Application > Single View Application
Product Name: Constraints
Language:Swift
Simulated Metrics >
Size: iPhone4-inch
物件庫中選擇 UI Label 拖至View Controller上
Label> Font:更改大小
Label > Color:更改顏色
Add New Algnment Constraints
> Horizontal center in Container
Resolve Auto Layout Issues
> update Frames
Show the Size inspector
Align Center Y to: 「Edit」
≦40
Resolve Auto Layout Issues
> update Frames
Show iOS Simulator
0 Comment(s)