Mosmoxmosmox

Mosmox journal

In focus — UX.

A selection of publications grouped under the UX tag.

iPhone Duo: How to Get Your App Ready for Apple's Foldable Before April 2027

iPhone Duo: How to Get Your App Ready for Apple's Foldable Before April 2027

On 23 October 2026 iPhone Duo went on sale: a foldable iPhone with two displays, an outer one when it is closed and an inner one that opens "like a book". For users it is a new form factor. For teams that maintain iOS apps it is a new deadline: from April 2027, every app and game submitted in App Store Connect must include iPhone Duo screenshots.

The good news is that you do not have to rewrite the app. But a few common code patterns break on this device, and it is better to find them now than a month before the deadline. Below we cover what Apple said, how an app behaves depending on the SDK, what to check in code, and what to prepare for your App Store page.

What Apple announced

According to Apple's announcement of 5 October 2026 and its iPhone Duo preparation guide:

  • iPhone Duo is available to customers from 23 October 2026;
  • you need to recompile the app with Xcode 27.1, which adds support for the new device; behavior in all poses and orientations can be checked in Device Hub;
  • iPhone Duo screenshots can be submitted now: your product page then shows a badge saying the app is optimized for iPhone Duo;
  • from April 2027 such screenshots become mandatory for every new submission.

Apple also suggests stating in the "Helpful Details" section of a featuring nomination that the app is optimized for iPhone Duo in all device poses.

How an app behaves depending on the SDK

How your app looks on the new device depends on the SDK it was built with. Apple describes three scenarios:

SDKOpen (inner display)Closed (outer display)
iOS 26 or earlierWindow centered at a familiar size with empty space around itContent sits to the left of the status bar and camera
iOS 27Fills most of the inner display, but still avoids the status bar on the rightApple does not specify
iOS 27.1 or laterEdge to edge; toolbars and tab bars move vertically below the status barEdge to edge, with a consistent experience across both displays

The practical takeaway: if you build with the new SDK, check how your UI handles vertical bars. This is where teams most often notice shifted elements and content that overlaps.

Step 1. Automated check

Apple suggests starting with a skill for a coding assistant: in Xcode you simply ask it to "get my app ready for iPhone Duo". For other agents the skill can be exported with xcrun agent skills export. Apple warns that it finds most issues but not all, so a manual review against the checklist below is still needed.

Step 2. Three patterns to find in your code

1. Screen size is taken from the main screen

If your code contains UIScreen.main, it is a candidate for a fix, because the window size no longer equals the device size and changes mid-session when the device is folded or unfolded:

  • replace UIScreen.main.bounds with view.bounds or window.bounds; in SwiftUI use GeometryReader or onGeometryChange;
  • move size-dependent calculations to layoutSubviews or viewDidLayoutSubviews; reading the size once at launch or in viewIsAppearing is not enough;
  • take scale from traitCollection.displayScale (UIKit) or @Environment(\.displayScale) (SwiftUI);
  • replace UIWindow(frame: UIScreen.main.bounds) with UIWindow(windowScene:), and do not store a screen: get it when needed through view.window?.windowScene?.screen.

2. Layout depends on orientation

Remove logic based on UIDevice.current.orientation, statusBarOrientation or interfaceOrientation. Compare the available width and height instead, through view.bounds, superview.bounds or the GeometryReader size.

3. Device type is guessed from idiom or size class

  • replace userInterfaceIdiom == .phone or .pad checks with size-class and available-space logic;
  • do not equate horizontalSizeClass == .regular with iPad: an iPhone can now have regular width too;
  • remove hardcoded checks such as bounds.height == 844;
  • for full-bleed media using .scaleAspectFill or .aspectRatio(contentMode: .fill), choose fill or fit based on the current size classes or aspect ratio, or set a focal point.

As a reference for the inner display, Apple suggests treating it as a natural extension of your iPad layout: the app should look as if it were designed for the larger screen.

Step 3. Test resizing

One run on a device is not enough. Apple suggests three ways to check:

  • The iOS resizable simulator in Device Hub for quick checks at arbitrary sizes;
  • iPhone Mirroring on macOS 27: resize the window to extreme sizes in both directions;
  • The iPhone Duo simulator in Xcode 27.1: the most accurate way to see the full native experience.

Also test scenarios where the size changes mid-task: filling in a form, video playback, an open keyboard, checkout. This is where state gets lost and layouts jump.

What to prepare for the App Store

From April 2027 a new version cannot be submitted without iPhone Duo screenshots. So it is worth preparing ahead:

  • capture screenshots in different orientations following Apple's specification;
  • check how your page looks in the App Store Connect preview tool, including the new creative assets;
  • mention in your featuring nomination that the app is optimized for iPhone Duo in all poses.

A checklist for the coming weeks

StepWhat to doOutcome
1Build with Xcode 27.1 and run in the iPhone Duo simulatorA list of screens with broken layout
2Find UIScreen.main, orientation checks and device idiom checksA list of places in code that depend on device size
3Fix the critical screens: onboarding, payment, the main flowAn app that does not break when folded or unfolded
4Test resizing during a sessionState is preserved and layout does not jump
5Prepare iPhone Duo screenshotsA ready set well before April 2027

This table reflects our practice, not Apple's official position. The order may differ per team depending on architecture: a SwiftUI project usually has fewer screen-size dependencies than a long-lived UIKit codebase.

Conclusion

iPhone Duo does not require a separate app, but it does require the app window to be genuinely flexible. A team that already supports iPad and multitasking will get through this quickly. A team that still relies on the main screen size and orientation should start with an audit now, while a few months remain before the screenshots become mandatory.

If you need help auditing an iOS app for adaptive layout or preparing for the new App Store requirements, get in touch: we will estimate the scope and propose a plan.

Adaptive Apps for Foldables and Googlebook: What Google Play Will Start Looking At

Adaptive Apps for Foldables and Googlebook: What Google Play Will Start Looking At

Google has warned developers that next year Google Play will look more closely at how apps and games run on foldables and will offer more opportunities to showcase adaptive products. Specific store requirements are promised later this year. Until they appear, the best preparation is to understand what Google counts as adaptive quality and to fix weak spots now.

What is known today

In its October Android Dev Summit announcement, Google linked two things. First, with the arrival of Googlebook, apps can scale across phones and laptops without a separate codebase. Second, next year Google Play will look closely at how apps run on foldables. Details are promised "later this year", so there are no official requirements at the time of writing. For apps, Google advises following the Adaptive app quality guidelines; for games, a separate set of adaptive games guidelines.

Three tiers of adaptive quality

TierNameIn short
Tier 3 (basic)Adaptive readyThe app runs full screen or full window on all devices, without letterboxing or compatibility mode; basic support for keyboard, mouse, trackpad and stylus
Tier 2 (better)Adaptive optimizedLayout optimizations for all screen sizes and configurations, with enhanced support for external input devices
Tier 1 (best)Adaptive differentiatedAn experience designed for the device: multitasking, foldable postures, drag and drop, stylus

To earn the Large Screen Badge on Google Play, Google says to complete Tier 2 (optimize for all screen sizes) and Tier 1 (a differentiated experience for large screens). Google also notes that your app probably does not need to meet every requirement: implement the ones that make sense for your use cases.

How to test

According to Google, layout and UX testing should cover at least these device types:

  • Googlebook (160 ppi);
  • foldable (841×701 dp);
  • 8-inch tablet (1024×640 dp);
  • 10.5-inch tablet (1280×800 dp);
  • 13-inch Chromebook (1600×900 dp).

Android Studio provides emulators for this: Pixel Fold for foldables, Medium Tablet for tablets and Desktop (Preview) for desktop, which needs a Canary build. There is also the resizable emulator for arbitrary configurations.

What breaks first

Google states plainly that when screens fold, windows resize and apps move across form factors, usual layout assumptions can break and apps easily lose state. So your checklist should include:

  • State preservation when folding and unfolding, resizing the window and rotating.
  • Multi-pane layouts instead of a stretched phone screen (Grid, FlexBox, Navigation 3, WindowManager).
  • Tabletop posture for camera and media screens.
  • External input: keyboard shortcuts, hover states, tooltips, trackpad and mouse cursors.
  • Tablet and foldable screenshots on your Google Play listing: Google recommends showing the app on these devices and mentioning it in the description.

Speeding up work with agents

The updated Compose Adaptive skill helps agents turn compact screens into responsive multi-pane layouts and handle state and configuration changes. According to Google, it now adds foldable and desktop support: windowing, keyboard shortcuts, tooltips and trackpad hover states. The skill also audits Compose UI for these elements and refactors camera and media screens into tabletop layouts. It is a tool for a first-draft audit, but the result still needs manual checks on real devices.

Where to start in your project

  1. Find your current tier: go through the Tier 3 checklist and make sure the app does not run in compatibility mode.
  2. Run a critical flow on a foldable emulator while folding and resizing.
  3. Fix state loss before polishing visuals.
  4. Add keyboard and mouse support for the main actions.
  5. Update your store listing with large-screen screenshots.
  6. Watch for the Google Play announcement on requirements and opportunities for adaptive apps.

For more on technical approaches, see our article on tablet and foldable apps and our comparison of SwiftUI, Compose and classic Views.

Adaptivity is no longer a nice extra: it is becoming a visible quality signal in the store. Teams that start with state preservation and basic layouts will be ready before the requirements appear.

Sources: Android Developers Blog: Agentic and Flexible: A next era of Android development; Android Developers: Adaptive app quality guidelines; Android Developers Blog: Build for every screen with the latest Jetpack Compose updates.

22 GB per Smartphone Each Month: How Mobile User Behavior Is Changing

22 GB per Smartphone Each Month: How Mobile User Behavior Is Changing

As people spend more time on smartphones and consume more data, a mobile product is no longer a short session between other activities. It becomes an everyday environment for work, shopping, communication and entertainment — and it should be designed that way: for interruptions, varying networks and the fact that, for many people, data still costs money.

In this article we look at what an average of 22 GB per smartphone really means and share the practices we use in our projects to keep an app both fast and economical.

What 22 GB means

According to Ericsson, an active smartphone generated about 22 GB of mobile traffic per month on average at the end of 2025. A year earlier, according to Ericsson’s June 2025 report, the figure was 19 GB, and the company forecasts 42 GB by 2031 — average annual growth of around 12%.

It is an average, so it hides differences between markets, plans, device types and behaviour. Users with unlimited 5G live side by side with people who switch off mobile data after every message to make their allowance last the month. For a product team, this number is not a consumption target but a signal: people expect not just access to a service but a complete, fast, media-rich experience — and they do not forgive products that waste their data.

Most of those gigabytes come from video: according to Ericsson’s measurements on four European networks, it accounts for about half of all mobile traffic. That is why an app’s “weight” usually depends far more on media than on code.

How user behaviour is changing

  • Sessions are more frequent and shorter. People come back many times a day, so session state must survive interruptions: a call, an app switch, the system evicting the app from memory.
  • Context changes constantly. Wi-Fi at home, LTE on the bus, a congested network in a shopping centre — all within an hour.
  • Media has become the norm. Product photos, short videos and voice messages are expected even in apps that used to be text-only.
  • Cost sensitivity remains. System data-saving modes exist precisely because a large share of users watch their data.

A data strategy for different scenarios

In our projects we define a separate loading policy for each content type. The decisions below reflect studio practice that we adapt to each product:

Content typeLoading policyWhat changes in data-saving mode
Lists and catalogsPagination of 20–30 items, on-disk cacheLower-resolution thumbnails
ImagesWebP or AVIF, sized for the screen via a CDNFull-size photos only on tap
VideoAdaptive HLS or DASH streaming, starting at a lower qualityNo autoplay, capped maximum bitrate
Backups and syncBackground jobs with network constraintsWi-Fi only or with explicit consent
Content updatesDelta updates instead of full reloadsLess frequent refresh, push instead of polling

Platform tools worth using

Both platforms already tell an app how the user feels about data. These signals should be built into product logic rather than ignored:

  • Android Data Saver. Through ConnectivityManager an app learns whether background data restrictions are on and should reduce background usage.
  • iOS Low Data Mode. The allowsConstrainedNetworkAccess setting in URLSession lets an app automatically skip non-essential requests when the user has turned on data saving.
  • WorkManager and BackgroundTasks. Large downloads and sync can be tied to conditions: an unmetered network, charging, sufficient battery.
  • HTTP caching. Proper Cache-Control and ETag headers avoid downloading again what is already on the device.
  • State saving. SavedStateHandle on Android and scene state restoration on iOS return users to where they left off, even after the system has evicted the app.

What to test before launch

  1. Map the 5–10 most common journeys: launch, search, product view, completing an action, returning via a push notification.
  2. Measure for each time to the first useful action, data downloaded and repeated requests.
  3. Check cold and repeat opens: opening the same screen a second time should cost many times less data than the first.
  4. Test on a budget device and a slow network using Network Link Conditioner or Android Emulator profiles.
  5. Turn on Data Saver and Low Data Mode and make sure the app behaves differently, not just more slowly.
  6. Interrupt the journey with a call, airplane mode and app switching — drafts, filters and the cart must survive.

If a product constantly needs large resources, the issue is usually neither the user nor the network but the architecture of the experience.

Common mistakes

  • Autoplaying video at maximum quality in the feed.
  • Fully reloading a list every time the user returns to a screen.
  • Polling the server every minute instead of using push or WebSocket.
  • Ignoring data-saving modes on both platforms.
  • Losing user input after a session interruption.
  • Not explaining how much data a large download will use.

A checklist for a fast, economical product

  • Every content type has a defined loading policy.
  • Reopening a screen uses the cache.
  • Video starts at a lower quality and adapts to the network.
  • The app responds to Data Saver and Low Data Mode.
  • Heavy background jobs run on unmetered networks.
  • Session state, drafts and the cart survive interruptions.
  • Analytics shows data volume per session and per key journey.

We covered the wider context of traffic growth in our article on 146 exabytes a month, and how to design states for different networks in our piece on 5G and mobile apps.

Mobile statistics become useful when they lead to decisions: what to cache, what to compress, what to show first and where to give users control. Twenty-two gigabytes is not a consumption target; it is a reminder of the scale of everyday mobile life.

Sources: Ericsson Mobility Report: Mobile traffic forecast; Ericsson: Short-form dominates video traffic; Android Developers: Data Saver; Apple: allowsConstrainedNetworkAccess; Android Developers: WorkManager.

5G and Mobile Apps: How Faster Networks Change User Experience

5G and Mobile Apps: How Faster Networks Change User Experience

5G is often described as a technology for higher speed. For a mobile product team, the more important change is in user expectations. People move between screens faster, watch more video and are less willing to forgive delays — even when they are standing in an underpass with a single bar of LTE.

In this article we explain what 5G really gives apps, where its benefits are overestimated and how we design a product’s network behaviour so it stays predictable on any connection.

What changes with 5G

In the June 2025 Ericsson report, 5G is presented not only as a faster radio link but as a foundation for richer digital journeys. According to the report, there were about 2.3 billion 5G subscriptions worldwide at the end of 2024, and fifth-generation networks already carried 35% of all mobile traffic. In its November report, the company expected more than 2.9 billion subscriptions by the end of 2025.

Higher capacity delivers media faster, and lower latency makes interactions feel closer to instant. The IMT-2020 requirements set user-plane latency targets of 4 ms for mobile broadband and 1 ms for ultra-reliable scenarios, but these are radio-interface targets. In real networks, a full request-to-server-response cycle takes tens of milliseconds or more, because routing, DNS, TLS and back-end processing are added on top.

Unevenness matters too. Ericsson estimated that at the end of 2025 only about half of the world’s population outside mainland China had 5G coverage. More than 90 operators have launched 5G Standalone networks, which enable network slicing and guaranteed quality for specific services, but for most consumer apps these capabilities remain a prospect rather than a baseline. Designing a product “for 5G” today means designing it for a mix of network generations.

Where 5G really gives a product an edge

ScenarioWhat 5G addsWhat remains the product’s job
Short video and feedsFaster playback start, smoother scrollingAdaptive bitrate, sensible prefetching
Video calls and streamsHigher bitrate, fewer stallsQuality degradation without dropping, session recovery
Large files and backupsFaster uploadsResumable chunked uploads, transparency about data plans
Real-time collaborationLower sync latencyConflict resolution, offline change queue
Navigation and ARFaster loading of maps and modelsLocal cache, working without a network along the route

In its study of video traffic on four European networks, Ericsson notes that 5G consistently improved the viewing experience: higher bitrates and shorter stalls for long-form video, faster start and smoother playback during rapid scrolling for short clips. But that advantage only materialises when the player knows how to use it.

Three common team mistakes

  1. Building only for ideal connectivity. An app that works well only on 5G becomes unpredictable for a large part of its audience: coverage is uneven, and the phone constantly switches between 5G, LTE and Wi-Fi.
  2. Confusing fast loading with good experience. A screen may appear quickly yet remain unusable if data and component states arrive chaotically and buttons jump under the user’s finger.
  3. Using extra bandwidth as an excuse for extra weight. Higher capacity is not permission to ship unlimited video, images or JavaScript. Users pay for it in data, battery and time on weaker connections.

How we design network behaviour

Start with journeys where the network creates real value: streaming video, collaboration, navigation, remote diagnostics or large files. For each, decide what can adapt: video quality, image resolution, list density, sync frequency.

Then describe at least three states for every journey:

  • Fast connection — full media quality and prefetching of the next content.
  • Slow or “expensive” connection — reduced quality, deferred background work, no autoplay of large files. On iOS, NWPathMonitor reports whether a path is expensive or constrained (Low Data Mode); on Android, NetworkCapabilities shows whether a network is metered and provides a bandwidth estimate.
  • Temporary offline — cached content, a queue of actions to send later and a clear status message.

One important nuance: do not check reachability before every request. Both Apple and Google advise simply making the request, handling the error properly and retrying with exponential backoff — the network state changes faster than an app can check it.

A step-by-step testing plan

  1. List 5–7 key journeys and mark the ones that depend on the network.
  2. Set a budget for each: time to the first useful action, data volume, acceptable retries.
  3. Test with Network Link Conditioner and Android Emulator profiles: fast network, unstable LTE, packet loss, full disconnection.
  4. Check network transitions in the middle of an operation: payment, photo upload, form submission.
  5. After release, track metrics by connection type: error rate, request duration, video interruptions.

Assess the business effect separately. Compare key-journey conversion, session length and video completion between users on 5G and LTE. If there is no difference, the bottleneck is most likely not the network but the back end, response size or interface logic.

A checklist for any network

  • Every network journey has three documented states.
  • Media adapts to connection quality automatically.
  • Unfinished actions are saved and resumed when the network returns.
  • The app respects Low Data Mode and Data Saver.
  • Retries use exponential backoff.
  • Analytics distinguishes 5G, LTE, Wi-Fi and offline.

We wrote in more detail about how growing mobile traffic changes performance requirements in our article on 146 exabytes a month.

5G works best as a multiplier for a well-designed experience. When the product logic is clear, network improvements make it smoother. When the logic is confusing, speed only gets the user to an error faster.

Sources: Ericsson Mobility Report, June 2025; Ericsson Mobility Report, November 2025; Ericsson: Short-form dominates video traffic; ITU-R M.2410: Minimum requirements for IMT-2020; Apple: NWPathMonitor; Android Developers: Read network state.

Journal

Ideas and products