Custom Navigational Transitions in iOS
Zalando's iOS app adds a custom zoom-style push transition between backend-driven screens. The tapped outfit card grows into the details view, built on UIKit's UIViewControllerAnimatedTransitioning and a custom navigation delegate. Because the backend-defined UI and the generic deep-link router lack context about the tapped view, the team intercepts the tap to capture its frame and snapshot and passes them through the navigation service. Plain drawHierarchy snapshots pixelated and scaled text badly, so they switched to recursively re-rendering the tapped layout per component, omitting labels and buttons and rendering real image views, which gave crisp transitions reusable across screens.
Related posts
- What the iPhone Duo means for web development
Mux mediumAdept
Safari on the foldable iPhone Duo exposes the Device Posture API and Viewport Segments API behind WebKit feature flags. They let pages detect a folded posture via `navigator.devicePosture` or `@media (device-posture: folded)` and position content per screen segment with `env(viewport-segment-*)` variables. Using these plus a flagged Fullscreen API, a Netflix-style folded video player was built from Video.js v10 components, with video on the top half and tiled controls on the bottom. A blurred, mirrored reflection is drawn by copying frames to a small canvas via requestVideoFrameCallback, since -webkit-box-reflect doesn't work on video in iOS Safari. In practice it needs three feature flags on iOS, and Chromium on a Pixel Fold clips fullscreen content to the top half, so the design isn't shippable today.
- How We Built the Add to Favorite Animation in Shop
Shopify Engineering mediumAdeptShop's Add to Favorite animation, where a product thumbnail pops in, scales, and drops into a bouncing heart tab-bar icon, is built in React Native with Reanimated by driving the whole sequence from a single shared progress value that steps through 1, 2, 3 and so on, each step with its own duration and easing from the motion spec. Each property (opacity, scale, translateY, icon fill and bounce) is mapped from that progress value with clamped interpolation, and the filled heart is a second icon faded in over the outline. Using one shared value guarantees the icon moves the instant the thumbnail disappears, creating a cinematic match cut. An earlier setTimeout-based approach broke that timing when the JS thread was busy; Reanimated's withDelay keeps the timer on the UI thread.
- Challenges of mixed SwiftUI and UIKit codebases in iOS Apps
Medium Engineering mediumAdeptMixing SwiftUI into Medium's 2013-era UIKit iOS app brings recurring friction: sizing SwiftUI views hosted in UIHostingController as table/collection cells, mismatched scroll APIs (offset sign differs), and duplicated components like PostPreview implemented in both frameworks. Medium keeps UIKit for app-wide navigation and SwiftUI for local feature navigation, avoids SwiftUI TextField due to focus limitations, and notes weaker SwiftUI view debugging. A scroll performance issue from wrapping UILabel with NSAttributedString in a SwiftUI list was fixed by switching to native Text with AttributedString; raising the minimum target from iOS 13 to 16 reduced version-specific code.
- Accelerating Mobile App development at Zalando with Rendering Engine and React Native
Zalando Engineering mediumAdeptZalando is incrementally migrating its separate iOS and Android apps to React Native by reusing Rendering Engine, its React-based web framework whose "renderers" bundle data fetching, caching, observability and tracking into components. React Native ships as a package: an npm "Entry Point" is consumed both by a standalone developer app and by a native SDK exposing a simple view-factory interface. Native interop goes through turbo modules plus injected protocols, which developers can mock. UI is shared with web through react-strict-dom and StyleX, with Metro platform-specific files and compat APIs covering cases one shared implementation can't handle.
- Mobile Bridge: Making WebViews Feel Native
Shopify Engineering mediumAdeptShopify's mobile app serves many of its ~600 screens as WebViews, made to feel native through Mobile Bridge, a framework built on @remote-ui/rpc for two-way web/native communication. Preloading, pre-authenticating and caching WebViews in native iOS/Android modules cut P75 load time from 6s to 1.4s. Injected JS/CSS disables zoom and text selection, and modified Polaris components push titles and actions into the native nav bar. A TransportableView moves a single WebView instance between screens to preserve state, with snapshots covering back navigation. The bridge also exposes native features like the date picker and barcode scanner to web content, and remote-dom is being explored to render Polaris components natively.