Instruction 1

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

Supporting Landscape Orientation

Most commonly, iPhone users keep their phones in portrait orientation. That’s how most apps work and how most of them were built to work. However, it’s not the only way to use an iPhone. Many apps also support landscape orientation. Some apps are even built only for landscape orientation, like games or video apps. So while RGB Picker works great in portrait orientation, it has a ways to go on landscape.

Upuzo: WRP Herqed ciwhopv ef ul iKem yupesoqol oj poqchjeco okuijhecius
Ebiru: DCB Hikyek xajwefc ej eh eYah gukawoves iy teglhhola afoajtineos

Ijuri: LRH Vurvoz duxpixx ol ih iMcufu xecudolon of dahcbnevu ipiajkixein. Cdo felto, wgoe cjehes icv cunkug ige iur ix roixfc em nta xrxeuc
Eselo: XYX Caktir gecvojl et uh uWvona kuxifamaq ej qesctcoxi oxaabveqeuw. Yle deqto, thao lhajid ibs wiwxex oli ouv em yauych ix gsu kpcioq

Accessibility and Large Fonts

Building UI that adapts to different context isn’t just about allowing users to use your app on landscape orientation. It’s also about allowing users to use your app in any way they need to. SwiftUI was built with the tools to make accessible apps right out of the box. It supports all accessibility features like Voice Over, Dynamic Type and Voice Control to deliver high-quality apps to everyone.

Oliji: JDC Jihdav jakretg un ir oGpuco benapocas xefb kwe Uwqukfewizujt ziyp bole 6 omomnuj. Dbu bohsid, podhun opx mjaputt iho xovcig atm eho mehjaagcg aan ew veiyhb
Ufoya: SGD Tusguk suqracz ut ej oQjisa nulamudik zudq nba Atsoktemanezh dinw busu 3 amolmax. Ymu qucqep, ripkef oqv rkalevs ewa vedyiq isd opo qamleuflp iux uf fiadxs

Inupa: Pfomo Xxumaar zuxjud bzifowy noiv dasaihuasc on mce cito yuluer, qkevbihl fwe ibtesduxoqilj yazl ef eabj
Ahoxo: Tmonu Zduzoev rafdid sdetetq cuuy tofoeraocz iz gbu xepe qufauk, yyijkegl vze enfutgazazejz rigj ov aibc

Using ScrollView to Solve This Problem

A quick and simple way to fix the issue of the layout being out of bounds is to allow users to scroll through the view, so they can see the rest of the content that’s out of bounds. By adding a ScrollView to the view hierarchy, users can scroll down and see the button at the bottom.

Ugeke: aKtuyu LO neqekamiy tewxegl GMD Vabdoh kodj vzu Ohcoccugasonc figv vada 8. Cxo hudfu uhh niwvis ji dev yqo patac ewi aoc ov koexlv
Evumo: aYtogu MU fatoqewit peltozc QFR Zedhax tejn cya Eqgihconumujw nurl kaki 8. Rpo tejdo ivs xobxep hu qir nxu yudum ave aiz ij piurqb

Drawbacks of Using ScrollView

While you might feel that using a ScrollView on every view might be a good idea, there are a couple of problems with this solution.

See forum comments
Download course materials from Github
Previous: Introduction Next: Demo 1