Перейти к содержимому

Strike a pose with adaptive layouts on iPhone Duo | Apple

Apple Developer

0:00 / 0:00

Strike a pose with adaptive layouts on iPhone Duo | Apple

26 556 просмотров · 13 дней назад
Apple Developer
329 тыс. подписчиков
26 556 просмотров · 13 дней назад
Learn how to create responsive, flexible layouts that work great on iPhone Duo. Explore displacement design patterns that keep content visible and reachable as people open and close their iPhone Duo. Discover how to use arrangement views in SwiftUI and UIKit to build split and overlay presentations, and find out how to query reserved regions to tailor layouts around the hinge and cameras. 00:00 - Introduction 00:27 - Reserved regions on iPhone Duo 01:29 - Designing around the hinge 02:26 - Displacement patterns 04:00 - Choose where content moves 05:12 - Adapt content to its new region 06:39 - Query reserved regions 07:50 - Division and occlusion regions 08:39 - System containers that adapt 09:20 - Introducing arrangements 11:17 - Build with ArrangementView 12:00 - Configure the split arrangement 13:21 - Use the overlay arrangement 14:39 - Choose between arrangements 16:09 - When not to use an arrangement 16:34 - Next steps More Apple Developer resources: Video sessions: https://apple.co/VideoSessions Documentation: https://apple.co/DeveloperDocs Forums: https://apple.co/DeveloperForums App: https://apple.co/DeveloperApp