Download - 3 auto layout tips
Transcript
-
3 Auto Layout Tips
-
/ CTO : iOS, Web : , (mbed),
@tomzoh
iOS
-
Web
PHP, CakePHP, Drupal
iOS, Android)
http://appbuilder.jp
Twitter: @tomzoh Yo: TOMZOH
-
Twitter: @tomzoh Yo: TOMZOH
-
:
3 Auto Layout Tips
-
Auto Layout
iOS6UI
UI
Top / Leading / Trailing Space
Height
-
Auto Layout
iPhone6, 6Plus
Auto Layout
iOSAuto Layout
-
Auto Layout
-
Auto Layout
Auto Layout
(x, y)
(w, h)
-
1:
2:
3:
-
2:
1:
3:
-
3 Auto Layout Tips
-
1 Outlet
Outlet Outlet = Interface BuilderGUIUI
UILabel UILabelOutlet
-
2 Auto Layout
OutletviewDidLoad(_:) Auto Layout
viewDidLayoutSubviews()
-
3 UIScrollView
UIScrollView
2 UIScrollView UIView
UIView
UIViewUIScrollView
UIView
UIScrollView
-
Auto Layout
-
Enjoy Auto Layout!
-
@tomzoh
2 iOS, Android1