RORK LABJP
ENGINE — Rork Max is powered by Claude Code and Claude Opus 4.6, generating native Swift apps directlyCORE ML — Rork Max reaches on-device Core ML inference alongside HealthKit, HomeKit, NFC, and App ClipsSEED — Rork raised a $15M seed led by Left Lane Capital in April 2026, joined by Peak XV and a16z SpeedrunM&A — Rork acquired the app builder Paperline and says it will stay acquisitive to bring in engineering talentMARKET — Gartner expects 75% of new applications to be built with low-code or no-code tools by the end of 2026GROWTH — The no-code AI platform market is projected to grow from $4.9B in 2024 to $24.8B by 2029ENGINE — Rork Max is powered by Claude Code and Claude Opus 4.6, generating native Swift apps directlyCORE ML — Rork Max reaches on-device Core ML inference alongside HealthKit, HomeKit, NFC, and App ClipsSEED — Rork raised a $15M seed led by Left Lane Capital in April 2026, joined by Peak XV and a16z SpeedrunM&A — Rork acquired the app builder Paperline and says it will stay acquisitive to bring in engineering talentMARKET — Gartner expects 75% of new applications to be built with low-code or no-code tools by the end of 2026GROWTH — The no-code AI platform market is projected to grow from $4.9B in 2024 to $24.8B by 2029
Articles/Dev Tools
Dev Tools/2026-06-15Advanced

Showing Live Progress in the Dynamic Island from a Rork Max Swift App

How to add an ActivityKit Live Activity to a Swift app generated by Rork Max so progress shows in the Dynamic Island, plus the update-related pitfalls I hit in production.

Rork Max219Dynamic Island3ActivityKit4Live Activities6SwiftUI62

Premium Article

I had a small timer app on the App Store, and the reviews kept circling the same complaint: "When I close the app I lose track of how much time is left." People wanted to glance at the remaining time from the home screen and the lock screen. The place that answers that wish is the Dynamic Island.

Rork Max generates native Swift, but a feature like a Live Activity, which pushes state outside the app, takes more than running the generated scaffold as-is. Adding the extension target, splitting the presentations, and managing the update budget all end up being hand work. Here is the order I used as an indie developer when I wired it into my own app.

The Dynamic Island Is Another Output for Live Activities

Let me clear up a common misconception first. The Dynamic Island is not a standalone API. When you define an ActivityKit Live Activity, that same state flows to both the lock screen banner and the Dynamic Island. Write one state model and you get two presentation surfaces for free.

Once that clicks, the rest is "draw the same data in different shapes." The flip side is that if you do not nail the state model first, both surfaces break together.

Define the State Model

The heart of a Live Activity is ActivityAttributes. Separate the unchanging attributes (a title) from the ContentState that changes moment to moment (the remaining time).

import ActivityKit
import SwiftUI
 
struct TimerAttributes: ActivityAttributes {
    public struct ContentState: Codable, Hashable {
        var endDate: Date
        var isPaused: Bool
    }
 
    var taskName: String
}

Put only values that change on updates into ContentState. Anything fixed after launch, like taskName, lives outside. Drawing that line early keeps the update code thin.

Thank you for reading this far.

Continue Reading

What follows includes implementation code, benchmarks, and practical content we hope you'll find useful. This site runs without ads — server and development costs are supported entirely by members like you. If it's been helpful, we'd be truly grateful for your support.

WHAT YOU'LL LEARN
A three-step path to define ActivityAttributes and ContentState and launch a minimal Live Activity
Real DynamicIsland builder code for the compact, minimal, and expanded presentations
Seven production gotchas: the 8-hour cap, the update budget, and the APNs header for push updates
Secure payment via Stripe · Cancel anytime

Unlock This Article

Get full access to the rest of this article. Buy once, read anytime. This site is ad-free — your support goes directly toward keeping it running.

or
Unlock all articles with Membership →
Share

Thank You for Reading

Rork Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • Copy-paste ready implementation code
  • New advanced guides published daily
  • $5/mo or $10 for lifetime access
View Membership →

Related Articles

Dev Tools2026-06-26
Show Your Rork App's Progress on the Lock Screen and Dynamic Island
Add Live Activities and ActivityKit to a Swift app generated by Rork Max so a meditation timer or delivery status appears on the lock screen and Dynamic Island, with working code and the submission gotchas to watch for.
Dev Tools2026-07-04
Start a Live Activity Without Launching Your Rork Max App — Designing Around a push-to-start Token That Never Arrives
In a native Swift app generated by Rork Max, you want to start a Live Activity from your server without the user ever opening the app. But the push-to-start token is never observed and it fails silently. Here's the cause and an observation layer that reliably captures the token.
Dev Tools2026-06-14
Updating Live Activities Remotely: Putting Live Lock Screen Info on a Rork App
A practical design for updating Live Activities remotely through APNs so the Lock Screen and Dynamic Island stay current even when your app is closed. Covers push-to-start vs update tokens, the content-state payload, stale-date and the update budget, and bridging from Expo, with working code and the issues I hit in production.
📚RECOMMENDED BOOKS
Build a Large Language Model (From Scratch)
Sebastian Raschka
LLM Dev
Prompt Engineering for LLMs
Berryman & Ziegler
Prompting
AI Engineering
Chip Huyen
AI Eng
* Contains affiliate links
See all →