<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Federico Meloni on Medium]]></title>
        <description><![CDATA[Stories by Federico Meloni on Medium]]></description>
        <link>https://medium.com/@fed.meloni?source=rss-9d7ec2488364------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*kpWmOsWweToN3F8Db_Lbng.jpeg</url>
            <title>Stories by Federico Meloni on Medium</title>
            <link>https://medium.com/@fed.meloni?source=rss-9d7ec2488364------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 02:23:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@fed.meloni/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Tackling iPhone X: Impact on Design and Development]]></title>
            <link>https://medium.com/iquii/tackling-iphone-x-impact-on-design-and-development-9f4069dc7caf?source=rss-9d7ec2488364------2</link>
            <guid isPermaLink="false">https://medium.com/p/9f4069dc7caf</guid>
            <category><![CDATA[iphone-x]]></category>
            <category><![CDATA[iphone]]></category>
            <category><![CDATA[ios-app-development]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[ios]]></category>
            <dc:creator><![CDATA[Federico Meloni]]></dc:creator>
            <pubDate>Wed, 15 Nov 2017 16:47:50 GMT</pubDate>
            <atom:updated>2017-11-15T17:32:47.067Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*87forRJe81p1stoypnfEPw.jpeg" /></figure><p>With the arrival of the new iPhone introduced in stores on November 3, Apple has completely redesigned some features and functionalities of its flagship product.</p><p>Described as the <a href="https://www.apple.com/iphone-x/">future of smartphones</a>, the iPhone X, thanks to its new form factor, now requires adaptation of the core components and gestures within the applications, opening up new opportunities for integrating the latest framework proposed by Apple to developers, such as ARKit and CoreML.</p><p>In this post, I’ll describe the main features of the device, the main changes main, and impacts on design, and development.</p><h3><strong>iPhone X: major technical features</strong></h3><p>In addition to the well known hardware innovations (Apple A11 Bionic CPU or 7-megapixel front camera with f/2.2 aperture, 3D Face Detection and Portrait Lightning) there are some features of the latest Apple product top range will have a particular impact on how to develop and design.</p><p>Developers and designers must now manage:</p><ul><li>the <strong>borderless design</strong> and the total disappearance of the home button;</li><li>the<strong> frontal design</strong>;</li><li>the <strong>OLED display</strong>, which compared to all other models, is a screen that almost covers all the front surface of the device;</li><li>the <strong>resolution of 1125x2436 pixel</strong>, with colors and contrasts even more marked.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O5Mo4ecinhgn5iwvD_YE_Q.png" /><figcaption>Credits: Apple</figcaption></figure><h3><strong>iPhone X in comparison with other devices</strong></h3><p>The first feature that stands out is probably the screen size that has the same width as the iPhone 6,7 and 8 but is higher than 145pt, thus gaining about 20% of the vertical space.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u2UF01NgXlFuJoE_kPPC7Q.png" /><figcaption>Credits: designcode.io</figcaption></figure><p>As shown in the picture, unlike the models listed above, the new iPhone uses exported images @3x, thanks to the introduction of what Apple defines the “Super Retina display”.</p><p>Another difference is the change of the <strong>aspect ratio</strong>, which passes from the canons 16:9 to the “alternatives” 19,5:9.</p><p>Additionally, if an application uses native iOS components such as navigation bar, table view, and collection view, it will not be difficult to adapt to the new iPhone.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*QWGInIgMUXB9K-k5skyNZw.png" /><figcaption>Credits: Apple</figcaption></figure><p>If you use custom layouts, you will need to upgrade the interfaces, starting with the safe area management.</p><h3><strong>iPhone X: what has changed for development compared to other models</strong></h3><h4><strong>The management of the Safe Area</strong></h4><p>From Apple guidelines, it does not recommend inserting buttons or interactive elements outside the Safe Area as the following image demonstrates in order to reduce the possible interference with system behaviors (the gesture of the home at the bottom or that of the control center / notification center up).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*-MJ-B-qN0LKaVX9iY3h1jg.jpeg" /><figcaption>Credits: macrumors.com</figcaption></figure><p>This Safe Area has the following constraints:</p><p><strong>Portrait Mode:</strong></p><ul><li>44pt on the top, at the status bar;</li><li>34pt on the bottom, at the home indicator level;</li><li>16pt on the sides, to form the margin layout.</li></ul><p><strong>Landscape Mode:</strong></p><ul><li>44pt on the left, forming the layout margin;</li><li>34pt on the right side, forming the layout margin;</li><li>23pt on the bottom, at the home indicator level.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mgwPLnE73RT6RHYoBmnKSA.png" /><figcaption>Credits: designcode.io</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bFFWdFq4F5C3cFE8vZ7_KQ.png" /><figcaption>Credits: designcode.io</figcaption></figure><h4><strong>Mobile development</strong></h4><p>In the developing process, the new features introduced by Apple force developers and designers to adapt, rethinking the execution and application methods pursued so far.</p><p>Let’s see how to deal with these changes.</p><p>In iOS 11, both topLayoutGuide and bottomLayoutGuide properties of the UIViewController have been replaced by new ones used to identify the safe area of the device:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c168a12be18008064226e4c86eac1b9b/href">https://medium.com/media/c168a12be18008064226e4c86eac1b9b/href</a></iframe><p>Let’s see an example of the implementation:</p><p>Let’s start by declaring an additional UIView in our view controller:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3af88cb9d0ca976173fec34fdfde4c6d/href">https://medium.com/media/3af88cb9d0ca976173fec34fdfde4c6d/href</a></iframe><p>We’ll initialize it inside the viewDidLoad event by disabling the old view sizing mask:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/88e90708f6d7750437f75746c41e8c78/href">https://medium.com/media/88e90708f6d7750437f75746c41e8c78/href</a></iframe><p>Next we need also hook margins of our view to its superview’s layoutMarginsGuide:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ae3415a3b84c8ca2eb844634188a3680/href">https://medium.com/media/ae3415a3b84c8ca2eb844634188a3680/href</a></iframe><p>Finally, we are going to manage the safe area for devices with iOS 11 and its fallback for earlier versions:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b3e992894700580e9366ab1e6f8bf4e1/href">https://medium.com/media/b3e992894700580e9366ab1e6f8bf4e1/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/1*M0WCVtcsU_062rffuvmHmA.png" /><figcaption>Credits: useyourloaf.com</figcaption></figure><h4><strong>Web development</strong></h4><p>As regards with the development of content compatible with the iPhone X, web pages displayed by Safari deserve special attention.</p><p>Apple has also updated its <a href="https://webkit.org/blog/7929/designing-websites-for-iphone-x/"><strong>WebKit guide</strong></a><strong> </strong>along with new suggestions for web developers to ensure the best experience while browsing.</p><p>Actually, when not optimized, web pages are rendered with white borders along each edge; surely the safest choice but at the same time the least aesthetic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/904/1*-9FCSMHpfHVUiMvvYdO3VQ.png" /><figcaption>Credits: designcode.io</figcaption></figure><p>The proposed solutions are different: from the extension of the background-color to the expansion of the entire area, by adding viewport-fit = cover in the meta tags viewport</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/77648daa9d635665594f9cc94071dcc6/href">https://medium.com/media/77648daa9d635665594f9cc94071dcc6/href</a></iframe><p>You can also act at CSS level by using one of following constants along with viewport-fit = cover:</p><ul><li><em>safe-area-inset-top</em></li><li><em>safe-area-inset-right</em></li><li><em>safe-area-inset-left</em></li><li><em>safe-area-inset-bottom</em></li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/46a3085a86f574b9fa8675ecba9ac877/href">https://medium.com/media/46a3085a86f574b9fa8675ecba9ac877/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/904/1*tzCwKvXTHSHQ0t_zsqaEQw.png" /><figcaption>Credits: designcode.io</figcaption></figure><h4><strong>Handle the Notch</strong></h4><p>The introduction of the new True Depth front camera (capable of taking 7MP photos) has also led to the birth of the Notch, the non-display part that houses several sensors including the camera itself.</p><p>The notch solution allows to place required sensors while minimizing the blind area while extending the screen as much possible until the borders of the device.</p><p>Apple HIG (<a href="https://developer.apple.com/ios/human-interface-guidelines/overview/iphone-x/">Human Interface Guidelines</a>) has a clear statement about handling the notch:</p><p>“Do not try to hide the device’s rounded corners, sensor housing, or indicator for accessing the Home screen by placing black bars at the top and bottom of the screen.”</p><p>It is therefore forbidden to customize that part of the screen, encouraging the creation of a uniform content.</p><p>Especially you should avoid:</p><ul><li>extreme personalizations that have interactions with the notch;</li><li>to use the notch as a menu;</li><li>to use the notch as pull to refresh;</li><li>to hide the notch, for example, placing a black view at the top of the screen.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yiq3WE7tEE5LkdEDwGuw4w.jpeg" /><figcaption>Credits: maxrudberg.com</figcaption></figure><h4><strong>Face ID management</strong></h4><p>For an application using TouchID, there will be no problems moving to the new FaceID, the facial recognition method introduced for the first time by Apple with the iPhone X.</p><p>Compatibility is guaranteed thanks to a system popup that will ask permission to use the face as a key, but at the same time will alert the user that this feature may not be perfectly optimized.</p><p>To avoid this message, just add the info.plist file to the <em>NSFaceIDUsageDescription</em> key and add the reason why you are using the FaceID.</p><p>Tip: If you are using TouchID and FaceID, remember to change the device authentication icon!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/714/1*y8-T_9ajs2WlhLJ3Rd2vvA.png" /><figcaption>Credits: RobNorback.com</figcaption></figure><h3><strong>iPhone X: Design and UX Tips</strong></h3><p>The arrival of the iPhone X has certainly influenced the way of designing from a UI and UX points of view, adding some features — larger screen and greater resolution — and launching new challenges for designers and developers.</p><p>As <a href="http://www.maxrudberg.com/">Max Rudberg</a>, Visual and UI Designer suggests, when designing for the iPhone X, there are elements to keep in mind to ensure effective and pleasing usability. It will therefore be important to create a full screen experience, adapting content to the new status bar, and improving the UX through a proper management of the Safe Area.</p><p>As Apple advises, it’s important that apps use the safe area, the button operation area, and interfaces to make sure the device is not even lost in landscape mode.</p><p>Another useful content from which to take a cue in managing and developing applications for the iPhone X is suggested by Paul Marcos in this video:</p><p><a href="https://developer.apple.com/videos/play/fall2017/201/">Building Apps for iPhone X - Fall 2017 - Videos - Apple Developer</a></p><h3><strong>From the awarness of the presence of the user, to the awarness of his attention</strong></h3><p>Given the very fast adoption by the users (after the first week the iPhone X has already exceeded 1% of the market share among all Apple devices) it is easy to predict how the advanced technologies of the new device will have a transversal impact in various areas: just think about the Machine Learning behind the Face ID technology and the augmented reality studied and developed in the ARKit.</p><p>Apple has been able to interpret the new technological trends that will drive the market in the coming years, bringing the user to experience more and more immersive experiences and marking a key milestone in the evolution of human-machine interactions.</p><p>Defining his latest product as the “future of smartphone”, it emerges that the Cupertino company is embracing a new paradigm: if the device was aware of the presence of the user before, now he is aware of his attention and understands where it is turned to.</p><h3>IQUII Digital Agency on Twitter</h3><p>Introducing the main features of the #iPhoneX and its impacts on #design and #development. 📌 Has @Apple really reinvented its flagship product? Here is an interesting approach by @fedmelons &amp;gt; https://t.co/fNDd2XCcEp</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9f4069dc7caf" width="1" height="1" alt=""><hr><p><a href="https://medium.com/iquii/tackling-iphone-x-impact-on-design-and-development-9f4069dc7caf">Tackling iPhone X: Impact on Design and Development</a> was originally published in <a href="https://medium.com/iquii">IQUII</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>