How To Design An App For Iphone
In this article, we'rhenium going to cover basically everything you need to know to design an iPhone app pursuing standard iOS 15 conventions and style.
Maybe you've never designed an iPhone app, and have no idea where to begin. Mayhap you've designed a dozen, but still want one place to reference best practices. Heaven knows Malus pumila's Hominal User interface Guidelines are awful to endeavor and register.
Here's what we'll underwrite today:
- Device screen sizes
- Page layout
- Composition
- Navigation
- UI elements
- App icons
- Other iOS conventions
- Downloads
- Further reading & resources
iPhone Screen Sizes
For the first of all 5 or 6 eld of iPhone releases, blind sizes were pretty manageable. If your intent worked on a 320x480 screen, you were golden. Now, information technology's the wild west out there. Every year seems to come with at least another screen size of it 🙄…
Here's the full list for your reference (drag this link to your bookmark bar to deliver information technology; puzzle the downloadable PDF below)
| Device | Skeletal system Size (e.g. for Figma) | Export Grading |
|---|---|---|
| 13 Pro Goop, 12 Pro Max | 428 x 926 | @3x |
| 13, 13 Pro, 12, 12 Pro | 390 x 844 | @3x |
| 13 Miniskirt, 12 Mini | 360 x 780 | @3x |
| 11 Pro Max, XS Max | 414 x 896 | @3x |
| 11 Pro, X, XS | 375 x 812 | @3x |
| 11, XR | 414 x 896 | @2x |
| 8+, 7+, 6+, 6S+ | 414 x 736 | @3x* |
| SE (gen 2), 7, 6, 6s | 375 x 667 | @2x |
| 5, 5s, 5c, Atomic number 34 | 320 x 568 | @2x |
| 4, 4s | 320 x 480 | @2x |
| 1, 2, 3 | 320 x 480 | @1x |
*display on telephone is technically 2.61x
- Artboard sized. This is the "point sizing" operating theatre "@1x" size of a given device. I strongly recommend designing on artboards of this size for a given device. (Here's an account of points vs. pixels)
- Exportation scaling. This is how much bigger to make a raster image (PNG, JPG) when exporting to take maximum advantage of the higher resolution of some devices.
What size artboard should I use for iPhone design?
Use the about common iPhone block out size for your audience, but if you have any compact, data-heavy screens, make a point to test those along smaller screen sizes.
- If you're transcription analytics connected your new app Beaver State website, check those* for your audience's most common covert sizes
- If you're designing an app for a indiscriminate audience, use the boilersuit almost popular iPhone screen size: 375x812pt or 375x667 pt (but as they'rhenium the same width, it doesn't pull in much difference)
- If you're designing an app for a tech- surgery design-get the picture audience, the most popular iPhone screen size is likely the newer 414x896 pt
*Google Analytics records this at Consultation > Fluid > Devices, so set Primary Dimension to "Block out Solution"
A pattern that full treatmen well happening a narrower screen (375pt) will about certainly form well on a slimly wider screen (414pt) – but the reverse is not true . So it's always improve to design for narrower screens first, and then double-check and set for big screens. Since height is inferior of a constraint, IT matters to a lesser extent whether your art boards are, pronounce, 667 or 812 pixels magniloquent.
iOS Points vs. Pixels
A "point" is a measuring stick for designers to comparability the sizes of fonts and UI elements across iOS devices. A "picture element" is a tiny square of light that your iPhone screen is made up of. Smaller pixels mean a clearer image, which is great. But if you merely seduce your pixels little, everything on the screen would get little too! To balance this, designers measure the size of elements on the test in points. Once pixels were half as tall/wide as they started, we could clean habit a 2x2 square of pixels for every point (this is called @2x). And once pixels were about a thirdly as high/wide Eastern Samoa they started, we could use a 3x3 square of pixels for every repoint.
Points is the unit that allows the States to make higher resolution screens without altogether the elements happening the page just shrinking. Yay, points! That organism said, occasionally designers use the terms interchangeably, and you'll just have to experience from context which they mean. Razz, designers.
iPhone Page Layout
While unusual iOS apps have different layouts, many authoritative pages wish have a layout something like the following:
Mention: in the downloads section infra, I have an iPhone Figma guide that has rulers disjunctive these page areas, plus the position bar and home indicator. It allows you to start filling therein framework of the paginate very rapidly.
If you're interested in a specific section of the pageboy, you can skip ahead to that surgical incision:
- Status bar
- Nav stop
- Check bar
- Location indicator
iOS Condition Bar
The status bar appears at the top of all page – except for some full-projection screen images, videos, or media.
The status legal profession contains the time, signal, wireless fidelity, and battery indicators, and can be written (text and icons) in either black or white.
The downpla to the status barricade can be any color – or even transparent. To find variations on a colourize that contrast suitably against light-skinned, utilisation the Accessible Color Generator.
If you'Ra victimization a status bar connected anything except the lightest of images, you'll probably lack to habit white school tex.
Or, if you want a marginal status bar ended a variety of images, usage a background blur.
This "frosted glass"-style status bar doesn't add whatever additional colors, borders, or needlessly attention-attracting elements to the interface – it simply blurs whatever colors are below information technology, making the text many readable.
In the case above, the light gray page background people of colour is the "nonremittal" color of the opaque glass, meaning the text above it should be sinister – not white.
Only since iPhone X do iPhones give birth the "notch" conception and oviform corners connected the border. Experienced iPhones (and all iPads) have a shorter, more compact status bar.
iOS Nav Bar
The nav bar is where the app displays piloting (surprise!), the page title, original page actions, and – a great deal – search.
You can think of the iOS nav Browning automatic rifle as being comprised of up to trio "rows".
In my iPhone UI Figma Template, I include guides the least bit of these demarcating where these rows typically pose.
- Status stop: 44pt tall
- First wrangle: 44pt tall-stalked
- 2nd row: 54pt gangling
- Fractional row: 48pt tall
(These measurements are non always literal, and iOS default on apps diverge from them within reason, but they will get you started)
So an iPhone app will reveal one, two, or trey rows, contingent (a) the needs of the page and (b) the scroll United States Department of State.
Use a unshared row if you just need to compactly display whatever page actions (even the page title is optional).
However, if you dismiss afford the infinite, the default iOS app page layout contains two rows: unity for paginate actions, and a second for a large page title of respect.
But if you need to display explore, and so you need a third row (flat if the first row is left blank!).
Now the screenshots above just depict the pre-scrolled conduct. As soon atomic number 3 the substance abuser starts scrolling, iOS specifies for some interesting behavior.
If a search bar is burning to understand at every multiplication, it merely moves up from the ordinal wrangle to the second base row while the app is scrolled.
If it's less important, it leave disappear alone – only visible when the substance abuser is at the very top of the page.
When iOS nav bar rows disappear upon scrolling, they will re-appear when the drug user scrolls game to the top.
Tone that the transitions between states is animated totally swimmingly – a teeny-weeny, up to now device characteristic item of the iOS style.
iOS Yellow journalism Bar
On iOS apps, primary destinations in the app are listed as tabs crosswise the bottom.
Let's note a few things styling-wise:
- The selected icon is denoted with the app theme fill color
- The labels are 10-11pt text in SF, the default baptismal font
- The background stool be ever-so-slightly translucent and consume a background blur – the "frosted glass" burden, a Pelican State the nav bar
And a few notes on the behavior of the tab bar and its buttons:
- Different tabs remember their state. If you move to a certain destination in one tab, switch to another chit, past switch back to the first tab, you'll be where you left soured in that tab – not the "main blind" for that tab
- If you rap the busy tabloid, you'll return to the "main screen" for that tab
- The tab bar is always perceptible within the app, demur:
- When a keyboard is shown
- When a modal is open (during critical tasks, the user should nidus on the undertaking at hand sooner than navigate to other parts of the app)
There should live 2-5 tabs in total. If you need to display more than 5, the fifth icons should be a "Much" catch-completely that shows other destinations on a quasi-picker screen when tapped.
iOS Home Indicator
New iPhones (X and Thomas More recent) all take up a abode indicator – a lanky, rounded bar omnipresent at the bottom of the screen. Well, omnipresent except for when you're already on the home screen.
It is inglorious on all light screens, but can be made white person on darker screens.
And by dragging IT up some add up, you can navigate between apps and to the menage CRT screen:
- Drag a short ways dormie: attend app whipper screen
- Drag a long ways up: go to home screen
Commonly, the home indicator "owns" its own 34pt tall "box" that no strange frozen elements can beryllium shown in.
But scrollable lists can be shown scrolling under the family indicator – and you can even select the particular directly subordinate the home indicator by tapping. The home indicator only responds to swiping up.
Navigation in iOS Apps
Primary App Destinations
Navigating between the intense areas of the app is covered in the Tab Bar surgical incision.
Navigating Back
On iOS, you can navigate backwards in 4 different ways, depending on the context.
| Method of Navigating Back | Context in Which it Works |
|---|---|
| Tap "Back" action on top-left of screen | Any covert happening which a "Hindermost" litigate appears |
| Swipe outside from left edge of screen | Whatsoever block out on which a "Back out" action appears |
| Tap "Cancel" surgery "Done" action on top of screen | Modal views |
| Swipe down on screen smug | Grammatical relation OR fullscreen (e.g. photos, other media) views |
The top off 2 ways usually apply to the same screens.
Consider the modals segment below for more on how to navigate away from them.
iOS Search
In that respect are 3 firsthand debut points to search in Ring apps:
- The search bar in the nav bar
- A search icon in the nav bar
- A search icon in the tab measure
However, disregarding where the search entree point is, the search experience looks reasonably similar:
Optionally, you can show popular or recent searches downstairs the look for corner. I cover some of the best practices for search experiences in my course on designing illogical, easy-to-use apps, Learn UX Design.
iOS Modal Sheets
Some tasks involve a divorced screen – or a linear series of screens – that you want users to complete without totally leaving the context they were in.
In iOS 15, we now have a perfect UI element for that: the modal sheet.
A diatonic scale rag is a normal page that (a) slides up from the bottom covering almost all of the former page, but (b) leaves the previous page visible, in time recessed, in the background.
Modals backside be dismissed away:
- Pressing the "close"-like natural action at the top (in a higher place, it's "Cancel" in the upper-right)
- Swiping down happening the modal auxiliary verb bill of fare itself
UI Elements & Controls
iOS Lists (AKA "Table Views")
Remember: "90% of mobile excogitation is name design". If you want to get redeeming at designing iPhone apps, find out how Malus pumila thinks about its lists (or, as they say "Table Views").
Any time you're devising a list on iPhone, you need to ask yourself three questions:
- What textbook do I want to showing?
- Fare I also want an icon/prototype?
- What goes in the right half of the cell?
Let's cover each of these successively.
What textual matter do you deficiency to display connected each list item? You bum choose:
- Only if primary text (17pt frequent)
- Original text (17pt regular) with secondary text (15pt routine)
- Custom layout – e.g. basic textbook (17pt regular), secondary text (15pt regular Only LIGHTER) and Tertiary period school tex (15 regular BUT LIGHTER STILL)
To the left of the text, you can optionally display an icon or image.
Finally, there are a smattering of options for the right side of a inclination item:
- A (decent-pointing) stripe. Almost the default, this lets users know they'll be navigating to another screen
- Text and a chevron. This substance the user can navigate to another cover to choose the value to equal shown here
- A checkmark. Allows the user to prefer between one of the list items in this aggroup (Note: not multi-choice, as web checkbox lists are)
- Shift. Allows the user to toggle the material possession that list item refers to on or soured.
- Text buttons. Use a system color to link to other page or flow. Use red text to represent a "iconoclastic carry through" – turning something off, deleting it, removing IT, etc.
There are more iOS paradigms for what you terminate make out with lists not beaded Here – but this is an overview of some of the most inferior ways to using lists. For more, check dead stimulant controls.
iOS Buttons
Usually we think of buttons as organism colored rectangles with centered text edition – and iPhone apps certainly use those kinds. But if you'atomic number 75 future day from the world of web designing, you might be popeyed to realize that many buttons on iOS are simply either (a) icons or (b) colored text – in either (a) the nav bar (at the top of the screen) or (b) action bar (at the bottom of the screen).
However, iOS does wear-page buttons atomic number 3 well.
Because paginate-wide actions appear on fixed menus (the nav bar or fulfi bar), many on-page buttons apply only to a certain voice of the page – and hence will appear on card game.
Input Controls on iOS
Uncomparable non-obvious thing more or less how iOS apps do input controls is they'Re almost all styled as list items.
iOS Text edition Boxes
School tex inputs look like a name item with a hint that disappears on typewriting.
iOS Switches
Switches appear within a name item with the label connected the left and the binary choice switch on the right.
iOS Date and/operating theatre Time Pickers
At first, it appears just like a list item with the pronounce connected the left and the value on the true, simply if you tap on the list particular, it expands into a special "spinner" control.
You can qualify this to pick (a) just a time, (b) evenhanded a date, (c) both a time and a date, or (d) extraordinary other custom value. That being aforesaid, I recommend against using this as a adaptable replacement for dropdowns. Instead, happening mobile, you'll a great deal want to use the "picker blind" practice – which is a great lead-in 😉
iOS Picker screens
If you're of all time tempted to exercise a dropdown (which you shouldn't be – but let's pretend), you probably should be using the picker screen pattern on iPhone apps. The whole idea is that you have something resembling a list item, but IT actually leads to another paginate where you pick the value.
Soh, the ingredients:
(1) A single list item with a label, value, and chevron leads to (2) a page with many a options in a heel, one of which can glucinium selected, and will register this state with a checkmark.
Erstwhile you've ready-made your selection, you can navigate back with a swipe OR aside imperative the button in the high-left.
Composition in iOS Apps
For more connected iOS composition (and, in particular, font sizes), see my high article on it here.
iOS has a identifiable paradigm for styling text. Perhaps the most surprising lesson is that where many design systems style with size or uppercase, iOS styles with weight or color . We'll unpack this lesson look many of the text edition styles across iPhone apps. Here's a quick reference in case you deficiency to skip ahead:
| Element Type | Style |
|---|---|
| Page title (unscrolled) | 34pt bold #000 |
| Page title (scrolled) | 17pt medium #030303 |
| Paragraph textual matter, List item titles, Links | 17pt normal #000 |
| Low-level schoolbook | 15pt normal #8A8A8E |
| Tertiary school tex, Captions | 13pt normal #8D8D93 |
| Buttons, Text input controls | 17pt formula, various colors |
| Action bar labels | 10pt regular #8A8A8E |
Form of address Textual matter Styling for iPhone Apps
Paginate titles are written in two distinct ways connected iPhone apps.
When the user hasn't scrolled yet (or has scrolled, but then scrolled back to the peak):
- Size: 34pt
- Font weight: bold
- Color: #000
- Dark style tinge: #FFF
- Alignment: left
When the user has scrolled down:
- Size up: 17pt
- Baptismal font weight: medium
- Color: #030303
- Iniquity mode color: #FFF
- Alignment: center
Default Text Styling for iPhone Apps
The "default style" for textual matter on iPhone apps is:
- Size: 17pt
- Font weight: rule
- Colouring: #000
- Dark mode color: #FFF
You can set out a tidy sum of mileage by making slight tweaks to this basal style.
For instance, while typical heel items are written with the default text style, the Mail app shows email senders in bold – as it helps the transmitter's distinguish jump from the subject line and preview.
Besides, school tex-based nexus buttons are basically the default text, merely with different colors.
And search field of honor hint schoolbook is the default textbook, but a lighter gray.
Secondary Text Styling for iPhone Apps
iPhone apps have a standardized dash for any supporting "secondary" text.
- Size: 15pt
- Face weight: normal
- Color: #8A8A8E
- Dark mode color: #8D8D93
Tertiary Schoolbook & Captions Styling for iPhone Apps
Any instructive "captions" are acknowledged an even little, lighter discourse than low-level text edition.
- Size: 13pt
- Typeface weight: formula
- Color: #6D6D72
- Pitch-dark fashion color: #8D8D93
Minimum Text Size on iPhone Apps
With some design system, it can redeem you a lot of headache to just define a minimum size. For iPhone apps, that's the action bar labels, at 10pt:
- Sized: 10pt
- Font weight: normal
- Color: #999 (when random)
- Dark mode color: #757575 (when random)
iOS App Icons
If you pattern an app icon specifically at the size that it appears in every possible fix for every possible iPhone and iPad, you will end up needing to create a dozen variations of the same icon.
You're wanted to do that.
(If you consumption Sketch, you can coiffe it rather simply with their template – File > Unweathered from Template > iOS App Icon)
However, if you're like me, you'd rather make sure the more common sizes on the more joint (operating theater newer) devices are covered, and call it. After all, isn't the whole point of this @3x line of work that the idiosyncratic pixels are too small to see?
Here's Erik's 80/20 iPhone app picture design plan:
- Create a square picture that looks good at 60x60px (and verify it looks sound masked with the Apple superelljpse*)
- Blow it up to @2x (120x120px) and optionally adjust information technology to be A pixel-perfect as you'd like
- Blow it up to @3x (180x180px) and optionally correct it to be as pixel-perfect arsenic you'd like
- Blow information technology equal to 1024x1024px
- Export all 4 sizes American Samoa PNGs. Done 🙌
The iOS Superellipse (AKA "Squircle") Ikon Shape
Even though you should forever export your icons Eastern Samoa squares, Apple will decreased kayoed the corners exploitation a type of shape called a superellipse.
A superellipse – Beaver State squircle – looks a lot like-minded a formula oval rectangle. In fact, the conflict is basically invisible to the nude eyeball. Malus pumila's rationales for the swtich are (a) a superellipse more gently transitions from the flat part to the curved start out, leading to an boilersuit more organic shape, and (b) this aligns amended with the corners of Malus pumila's hardware devices.
This really exclusive matters if your icon has a border, in which case your frame anatomy should be determined by a superellipse, not a rounded rectangle. Here's how to create a superellipse/squircle in Figma and in Sketch:
How to create an Apple ikon superellipse/squircle in Figma
- Make a square using the Rectangle menu item or shortcut "r"
- Change the box radius to the length of one size multiplied by 0.222
- Overt the Independent Corners menu (just to the right of the corner radius setting)
- Open ai the Corner Smoothing menu (the "…" icon) and rig it to the "iOS" indicator, located at 61%
How to make over an Apple ikon superellipse/squircle in Sketch
- Create a square using the Insert menu or shortcut "r"
- Change the corner radius to the length of one size increased by 0.222
- Change "R (Round Corners)" to "Radius (Smooth Corners)"
Other iOS Conventions
In that location are a pair off other things you should probably acknowledge about if you're artful an iPhone app. I will just go ahead and list them here:
iOS Tap Target Size
Everything the user should be able to tap on – every button, every slider, every input signal control – should be leastways 44x44 pts in size.
The only exception where information technology's really excusable to rupture this is schoolbook golf links. In paragraph text, each line of text will likely be quite a bit shorter than 44pt. That means that (a) your golf links bequeath have tap target of less than 44pt size and (b) if there are links in the assonant position in cardinal consecutive lines of schoolbook, it will be jolly difficult for users to pin them accurately. While this can't always be avoided, information technology's deserving knowing about this as something to minimize.
Disconsolate Mode iOS Design Guidelines
iOS has an Atomic number 76-level "dark mode" setting, where participating apps have (generally) dark backgrounds and light text, rather of light backgrounds and dark text.
While iOS volition mechanically transition to the shadow version if you're victimization native controls and colors, you should empathize the general principles of dark manner for any custom UI you do. Here are a couple of simple guidelines:
- Text edition colors are upside-down. It's a bit of an simplism, only black text becomes white, drear gray text becomes light gray text, and center gray text stays basically the same. If you consider the typography styles above, you'll notice iOS really drops few spare shades and simplifies the textbook colors for their dark theme. If you prat't tell apart whether you should make a middle-brightness gray darker or igniter, accompany the option that has a higher contrast text contrast against its background signal.
- Background colours are shifted. Different text, where darker colors go light, the downpla colors are all just shifted darker. If a background color was ignitor in light mode, it's still lighter in shadow musical mode. Why? Because light comes from the sky. If you understand that, you'll understand we're relying on background distort for depth cues (unlike textual matter). And so it works in a totally different way.
- Theme colors are translated to pop against dark. Any dialect colours that you were previously exploitation on light backgrounds now need to pop likewise against dark backgrounds. Since white has a brightness of 100% and melanize has a brightness of 0%, this often means you'll be lowering the brightness of bright colors (and, in my greater hypothesis of coloration adjustments, increasing their saturations).
Creating dark UI is its possess theme, worthy of its own template – and its one of the things I cover in a good deal more depth in Learn UI Design.
Downloads
I've created a few resources for easy reference. Golf links and descriptions downstairs 😎
iPhone Screen Size Cheatsheet
Pixels, points, inches, oh my. This is a quick guide to each version's iPhone's screen size and resolution.
🔗 FREE DOWNLOAD
iPhone 13 Design Guide
This Figma file (which you bottom also export every bit an SVG and open in Sketch or XD) includes all iPhone 13 and iPhone 12 models (including Mini, Pro, and Pro Max) with (a) rulers to make off common sections of the screen, (b) a mask with the notch and rounded corners, and (c) an easy-to-recolor status bar.
🔗 FREE FIGMA FILE
Further Resources for iPhone App Design
Malus pumila's Human Interface Guidelines for iOS. Apple's possess standards are notoriously difficult to read through with. First you deliver to wade through their abstract principles, and you constantly face up an rising fight against their hackneyed terminology (why are lists called "Tables" and filed under "Views"!? Shouldn't that live below "Controls"? No more, but on the face of it plain text is a "control" – just appear under "Labels"!). Anyhow, I will say that once you aline your mind-set, the Apple cool-aid makes a good deal more than sense, and – let's brass it – if you're designing an iPhone app, you'atomic number 75 going to be here anyways. Best get used to IT.
iOS vs. Android App UI Design: The Fill in Guide. OK, let's enunciat you think you're expiration to be making an Android adaptation of your iPhone app at many channelize. Best to start thinking about much of the design differences now. WHO knows – you may finish leading stealing some great ideas from Android purpose principles. This article actually covers a few iOS design paradigms that I didn't get to here. Worthy the read!
The iOS Font Size up Guidelines. One of the most unexpected parts of getting skillful at UI intention is developing an illogical sense of what face sizes to use. So, to help thereupon, I wrote the world's most statewide guide to font sizes. One part is one iOS apps, and if you've gotten this out-of-the-way, you should probably read that too.
Ivo Mynttinen's iOS Design Guidelines. The virtually comprehensive guide I could find besides this one on making anthropomorphous-decipherable iPhone app guidelines (besides this same 😉). Fantastic read.
Wrapping It Up
Did I miss anything? Something search wrong? Collapse me a shout at [email battlemented]. I'll be continually updating this guide to be the most accurate and human-clear channelize on the web for creating iPhone apps.
Unmatchable Net Note 😎
If this is your first time Hera, you mightiness as wel be interested in:
- Learn UI Design, my full-length online video course on drug user interface design
- The Design Newssheet, a 50,000+ somebody newsletter with original design articles aimed at giving you plan of action advice to improve your UX/UI skills.
Some people give some really nice overgorge to say about the newsletter.
Praise for the Figure Newsletter
Thank you for your newsletter. It's maybe the primo newsletter I've received since 1999, when I started freelancing.
Tricia Littlefield
Founder, TheSimpleWeb
Each time I receive an email from you, I'm comparable 'Bloody, this is a long netmail! No way leave I read wholly of this', then I began to read and I'm like 'Bloody, this is so freaking brillant' and read information technology all.
Jean-Philippe
UX Strategian, Freelance
The Pattern Newsletter
Over 50,000 subscribed.
Atomic number 102 spam. Unsubscribe anytime.
How To Design An App For Iphone
Source: https://learnui.design/blog/ios-design-guidelines-templates.html
Posted by: mccannyouslovis.blogspot.com

0 Response to "How To Design An App For Iphone"
Post a Comment