Submit Search
Upload
SafeArea
•
0 likes
•
196 views
Kosuke Matsuda
Follow
カスタムBarのSafeArea(iPhoneX)対応
Read less
Read more
Engineering
Report
Share
Report
Share
1 of 64
Download now
Download to read offline
Recommended
iOS iPhone 4.x
iOS iPhone 4.x
Ajfon Srbija
3 things every Android developer must know about Microsoft - Ido Volff, Micro...
3 things every Android developer must know about Microsoft - Ido Volff, Micro...
DroidConTLV
iOS iPhone 7.x
iOS iPhone 7.x
Ajfon Srbija
Web app
Web app
조 용구
Web app
Web app
조 용구
みゆっき☆Think#4 「こんどはiPhoneに触ってみるよ!」
みゆっき☆Think#4 「こんどはiPhoneに触ってみるよ!」
techtalkdwango
HTML5 로 iPhone App 만들기
HTML5 로 iPhone App 만들기
JungHyuk Kwon
iPhone meets SOA - 06/2008
iPhone meets SOA - 06/2008
Roland Tritsch
Recommended
iOS iPhone 4.x
iOS iPhone 4.x
Ajfon Srbija
3 things every Android developer must know about Microsoft - Ido Volff, Micro...
3 things every Android developer must know about Microsoft - Ido Volff, Micro...
DroidConTLV
iOS iPhone 7.x
iOS iPhone 7.x
Ajfon Srbija
Web app
Web app
조 용구
Web app
Web app
조 용구
みゆっき☆Think#4 「こんどはiPhoneに触ってみるよ!」
みゆっき☆Think#4 「こんどはiPhoneに触ってみるよ!」
techtalkdwango
HTML5 로 iPhone App 만들기
HTML5 로 iPhone App 만들기
JungHyuk Kwon
iPhone meets SOA - 06/2008
iPhone meets SOA - 06/2008
Roland Tritsch
iPhone X and iOS 11: An Overview
iPhone X and iOS 11: An Overview
Adam_Talcott
ioS Einstieg und Ausblick - Mobile DevCon Hamburg 2011 - OPITZ CONSULTING - S...
ioS Einstieg und Ausblick - Mobile DevCon Hamburg 2011 - OPITZ CONSULTING - S...
OPITZ CONSULTING Deutschland
Iphone Presentation for MuMe09
Iphone Presentation for MuMe09
Gonzalo Parra
yahoo.com/tablet
yahoo.com/tablet
Matt Seeley
iOS 13 大更新
iOS 13 大更新
Tsungyu Yu
iphone presentation
iphone presentation
Dhananjay Fartyal
MSR iOS Tranining
MSR iOS Tranining
Prabin Datta
Intro to appcelerator
Intro to appcelerator
Mohab El-Shishtawy
打造你的第一個iPhone APP
打造你的第一個iPhone APP
彼得潘 Pan
Developing AIR for Mobile with Flash Professional CS5.5
Developing AIR for Mobile with Flash Professional CS5.5
Chris Griffith
iOS 7.1 accessibility for developers
iOS 7.1 accessibility for developers
Ted Drake
WinWire webinar: Converting iPad apps to Windows Store apps
WinWire webinar: Converting iPad apps to Windows Store apps
WinWire Technologies Inc
iOS (Vulner)ability
iOS (Vulner)ability
Subho Halder
How to build a mobile website with Drupal?
How to build a mobile website with Drupal?
LEKTUM
SmartPhone Design and Delivery
SmartPhone Design and Delivery
Jason Diehl
Debunking the Top 5 Myths About Mobile AppSec
Debunking the Top 5 Myths About Mobile AppSec
NowSecure
ARKit by Magdalena Pałka
ARKit by Magdalena Pałka
Women in Technology Poland
Cm i padwebdev_lunch_learn
Cm i padwebdev_lunch_learn
Critical Mass
iPhone Dev Camp Keynote
iPhone Dev Camp Keynote
tristan.woo
iPhone Dev Camp Keynote
iPhone Dev Camp Keynote
ietatfandm
Combine
Combine
Kosuke Matsuda
Swift 5.1 - Property Wrapper
Swift 5.1 - Property Wrapper
Kosuke Matsuda
More Related Content
Similar to SafeArea
iPhone X and iOS 11: An Overview
iPhone X and iOS 11: An Overview
Adam_Talcott
ioS Einstieg und Ausblick - Mobile DevCon Hamburg 2011 - OPITZ CONSULTING - S...
ioS Einstieg und Ausblick - Mobile DevCon Hamburg 2011 - OPITZ CONSULTING - S...
OPITZ CONSULTING Deutschland
Iphone Presentation for MuMe09
Iphone Presentation for MuMe09
Gonzalo Parra
yahoo.com/tablet
yahoo.com/tablet
Matt Seeley
iOS 13 大更新
iOS 13 大更新
Tsungyu Yu
iphone presentation
iphone presentation
Dhananjay Fartyal
MSR iOS Tranining
MSR iOS Tranining
Prabin Datta
Intro to appcelerator
Intro to appcelerator
Mohab El-Shishtawy
打造你的第一個iPhone APP
打造你的第一個iPhone APP
彼得潘 Pan
Developing AIR for Mobile with Flash Professional CS5.5
Developing AIR for Mobile with Flash Professional CS5.5
Chris Griffith
iOS 7.1 accessibility for developers
iOS 7.1 accessibility for developers
Ted Drake
WinWire webinar: Converting iPad apps to Windows Store apps
WinWire webinar: Converting iPad apps to Windows Store apps
WinWire Technologies Inc
iOS (Vulner)ability
iOS (Vulner)ability
Subho Halder
How to build a mobile website with Drupal?
How to build a mobile website with Drupal?
LEKTUM
SmartPhone Design and Delivery
SmartPhone Design and Delivery
Jason Diehl
Debunking the Top 5 Myths About Mobile AppSec
Debunking the Top 5 Myths About Mobile AppSec
NowSecure
ARKit by Magdalena Pałka
ARKit by Magdalena Pałka
Women in Technology Poland
Cm i padwebdev_lunch_learn
Cm i padwebdev_lunch_learn
Critical Mass
iPhone Dev Camp Keynote
iPhone Dev Camp Keynote
tristan.woo
iPhone Dev Camp Keynote
iPhone Dev Camp Keynote
ietatfandm
Similar to SafeArea
(20)
iPhone X and iOS 11: An Overview
iPhone X and iOS 11: An Overview
ioS Einstieg und Ausblick - Mobile DevCon Hamburg 2011 - OPITZ CONSULTING - S...
ioS Einstieg und Ausblick - Mobile DevCon Hamburg 2011 - OPITZ CONSULTING - S...
Iphone Presentation for MuMe09
Iphone Presentation for MuMe09
yahoo.com/tablet
yahoo.com/tablet
iOS 13 大更新
iOS 13 大更新
iphone presentation
iphone presentation
MSR iOS Tranining
MSR iOS Tranining
Intro to appcelerator
Intro to appcelerator
打造你的第一個iPhone APP
打造你的第一個iPhone APP
Developing AIR for Mobile with Flash Professional CS5.5
Developing AIR for Mobile with Flash Professional CS5.5
iOS 7.1 accessibility for developers
iOS 7.1 accessibility for developers
WinWire webinar: Converting iPad apps to Windows Store apps
WinWire webinar: Converting iPad apps to Windows Store apps
iOS (Vulner)ability
iOS (Vulner)ability
How to build a mobile website with Drupal?
How to build a mobile website with Drupal?
SmartPhone Design and Delivery
SmartPhone Design and Delivery
Debunking the Top 5 Myths About Mobile AppSec
Debunking the Top 5 Myths About Mobile AppSec
ARKit by Magdalena Pałka
ARKit by Magdalena Pałka
Cm i padwebdev_lunch_learn
Cm i padwebdev_lunch_learn
iPhone Dev Camp Keynote
iPhone Dev Camp Keynote
iPhone Dev Camp Keynote
iPhone Dev Camp Keynote
More from Kosuke Matsuda
Combine
Combine
Kosuke Matsuda
Swift 5.1 - Property Wrapper
Swift 5.1 - Property Wrapper
Kosuke Matsuda
Swift 5.1
Swift 5.1
Kosuke Matsuda
Build Time Analyzer
Build Time Analyzer
Kosuke Matsuda
URLProtocol
URLProtocol
Kosuke Matsuda
APIKit
APIKit
Kosuke Matsuda
Core Data
Core Data
Kosuke Matsuda
Impression of Rails 3
Impression of Rails 3
Kosuke Matsuda
Rails with mongodb
Rails with mongodb
Kosuke Matsuda
Prototypejs
Prototypejs
Kosuke Matsuda
GAE_20100112
GAE_20100112
Kosuke Matsuda
More from Kosuke Matsuda
(11)
Combine
Combine
Swift 5.1 - Property Wrapper
Swift 5.1 - Property Wrapper
Swift 5.1
Swift 5.1
Build Time Analyzer
Build Time Analyzer
URLProtocol
URLProtocol
APIKit
APIKit
Core Data
Core Data
Impression of Rails 3
Impression of Rails 3
Rails with mongodb
Rails with mongodb
Prototypejs
Prototypejs
GAE_20100112
GAE_20100112
Recently uploaded
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
Tsuyoshi Horigome
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
ranjana rawat
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
rknatarajan
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
SIVASHANKAR N
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
Suhani Kapoor
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
ranjana rawat
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
ssuser5c9d4b1
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
soniya singh
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Christo Ananth
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
Suhani Kapoor
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
ranjana rawat
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
Asutosh Ranjan
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
9953056974 Low Rate Call Girls In Saket, Delhi NCR
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
RajaP95
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Call Girls in Nagpur High Profile
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
rakeshbaidya232001
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
slot gacor bisa pakai pulsa
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
RajkumarAkumalla
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur High Profile
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
RajaP95
Recently uploaded
(20)
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
SafeArea
1.
Bar SafeArea iPhoneX 2018/02/02
2.
iOS8 Bar SafeArea iPhoneX 2018/02/02
3.
• iOS 8
iPhoneX =SafeArea • •
4.
SafeArea https://developer.apple.com/ios/human-interface-guidelines/overview/iphone-x/
5.
Storyboard SafeArea
6.
iOS9 Storyboard SafeArea
7.
Top(Bottom)LayoutGuide
8.
SafeArea
9.
iOS8 Storyboard SafeArea
10.
SafeArea+IF:8.x
11.
Interface Builder Deployment Target=8.x Illegal
Configuration Group Safe Area Layout Guide before iOS 9.0
12.
SafeArea+IF:9.x+Device:8.x
13.
Interface Builder Deployment
Target=9.x iOS8 Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named UILayoutGuide'
14.
SafeAreaLayoutGuide • SafeAreaLayoutGuide ->
UILayoutGuide • UILayoutGuide iOS9
15.
iOS8 Storyboard SafeArea • iOS8
SafeArea Top(Bottom)LayoutGuidet SafeArea • Xcode9 SafeArea
16.
iOS8 Storyboard SafeArea
17.
Apple UIBar
18.
SafeArea+UIBar https://developer.apple.com/documentation/uikit/uiview/positioning_content_relative_to_the_safe_area
19.
UINavigationBarController UITabBarController
20.
• Home Indicator
21.
UIToolbar
22.
UIToolbar+Superview
23.
UIToolbar+BottomLayoutGuide
24.
Bar = UIView Bar
25.
Bar+Superview
26.
Bar+BottomLayoutGuide
27.
Bar Apple UIBar
28.
SafeAreaInsets
29.
SafeAreaInsets https://developer.apple.com/ios/human-interface-guidelines/overview/iphone-x/
30.
SafeAreaInsets
31.
viewSafeAreaInsetsDidChange
32.
33.
1 1. superview 2. height
NSLayoutConstraint 3. viewSafeAreaInsetsDidChange safeAreaInsets
34.
viewSafeAreaInsetsDidChange
35.
1 1. superview 2. height NSLayoutConstraint 3.
viewSafeAreaInsetsDidChange safeAreaInsets
36.
2 1. SafeArea view 2.
view superview 3. view bottomLayoutGuide topLayoutGuide 4. view view topEdge bottomEdge 5. view backgroundColor
37.
view
38.
view
39.
2 1. SafeArea view 2.
view superview 3. view bottomLayoutGuide topLayoutGuide 4. view view topEdge bottomEdge 5. view backgroundColor
40.
3 iOS9 1. SafeArea
view 2. view superview 3. view view 4. view SafeAreaLayoutGuide 5. view SafeArea 6. view superview view 7. view backgroundColor
41.
IF: 9.x +
UseSafeAreaGuide
42.
view
43.
view
44.
3 1. SafeArea view 2.
view superview 3. view view 4. view SafeAreaLayoutGuide 5. view SafeArea 6. view superview view 7. view backgroundColor
45.
Bar SafeArea • 1
Storyboard • 2,3 Storyboard • 2,3 view 1 • 3 iOS9 • 3 UIImageView Storyboard view
46.
... ...
47.
Apple UIBar Bar
48.
Bar
49.
DEMO
50.
UIToolbar view hierarchy
51.
• SafeArea view •
SafeArea LayoutGuide • SafeAreaInsets view SafeArea
52.
view • • view backgroundColor view
53.
SafeArea LayoutGuide • top
bottom
54.
SafeArea LayoutGuide
55.
SafeArea LayoutGuide • view
view superview • updateConstraints • iOS8 UILayoutSupport UILayoutGuide
56.
SafeAreaInsets • view SafeAreaInsets LayoutGuide
SafeArea
57.
58.
• https://github.com/matsuda/TestSafeArea • view
frame AutoLayout
59.
60.
• iOS8 Top(Bottom)LayoutGuide • view
Storyboard • view
61.
Appendix • https://developer.apple.com/ios/human-interface- guidelines/overview/iphone-x/ • https://developer.apple.com/documentation/uikit/ uiview/positioning_content_relative_to_the_safe_area •
https://qiita.com/usagimaru/items/ 761e9a5f3d78b1939df8 • https://medium.com/@kahseng.lee123/creating-custom- navigation-bar-tab-bar-for-iphone-x-f03b1e1827d3
62.
63.
UINavigationBar UITabBar (not Controller)
Download now