If you are building an iOS app on your own, the first real decision is the UI stack. SwiftUI is Apple’s own framework. Flutter is Google’s cross-platform toolkit that also ships to Android. Both can produce a polished App Store app. They make very different trade-offs, and the right one depends on what you need more: Android users, or the newest Apple features.
This comparison is part of the guide to building a Flutter app with Claude Code.
How each one draws the screen
SwiftUI is Apple’s declarative UI framework. Apple describes it as helping “you build great-looking apps across all Apple platforms with the power of Swift.” You describe what the UI should be: “SwiftUI uses a declarative syntax, so you can simply state what your user interface should do.” It uses Apple’s own controls, so system styles, accessibility and new design changes come with the OS.
Flutter takes the opposite approach. Its architecture docs say “Flutter has its own implementations of each UI control, rather than deferring to those provided by the system,” and it bypasses “the system UI widget libraries in favor of its own widget set.” Rendering uses Impeller, which “is shipped along with the application.” For release, “Flutter apps are compiled directly to machine code.”
What that means in practice:
- A SwiftUI app picks up new system looks when Apple changes them. A Flutter app looks the same until Flutter (or you) updates its widgets.
- A Flutter app looks the same on iOS and Android, which is good for a brand and less good if you want each platform to feel fully native.
Reach
This is the biggest difference for an indie developer.
- SwiftUI targets Apple platforms only. Android users cannot use your app unless you build a second app.
- Flutter builds iOS and Android from one Dart codebase. Its supported platforms page also lists Windows, macOS, Linux and the major web browsers.
If your idea has a meaningful Android audience, one codebase usually wins on cost alone. See Flutter vs native for a solo developer for the longer version of this argument.
Apple features and extensions
SwiftUI is first in line for new Apple APIs. Flutter reaches them through plugins or your own platform code.
Extensions are the clearest example. Flutter’s docs on iOS app extensions describe adding the extension target in Xcode: “When you add a new app extension, Xcode generates sample code based on the template you selected.” For home screen widgets they point to the home_widget package, which can “Render Flutter widgets in an app extension as an image” and “Save and retrieve data from UserDefaults on iOS.”
There are limits to running Flutter inside an extension:
- “iOS app extensions have limited memory. It is advisable to only modify an app extension’s UI if the app extension supports at least 100MB of memory.”
- “You must use an iOS simulator to test your extension in debug mode.”
- “The containing app and the app extension don’t communicate directly,” so data goes through App Groups.
So a Flutter app with a home screen widget or a share extension will include some native Swift. That is normal and manageable, but it is a second language in the project. See Flutter iOS home screen widget.
Tooling
Both need a Mac and Xcode for iOS. Flutter’s iOS setup tells you to “install and set up the latest version of Xcode” and walks through attaching a device “to the USB port on your Mac.”
- SwiftUI has Xcode previews: “you can make changes to your app’s views in code, and see the results of those changes quickly in the preview canvas.”
- Flutter has hot reload, which its docs say “helps you quickly and easily experiment, build UIs, add features, and fix bugs,” and one set of test and build commands for both platforms.
With an AI coding agent, both work. Flutter’s single codebase means one set of instructions and one test suite for two stores. See Claude Code with SwiftUI and Flutter project setup with Claude Code.
Mixing them
You do not have to choose purely. Apple says “SwiftUI is designed to work alongside UIKit and AppKit, so you can adopt it incrementally.” Flutter can run inside native code too: its extension example embeds a FlutterViewController in a Swift view controller. Many Flutter apps keep the main app in Dart and write widgets and extensions in Swift.
App Review treats them the same
Apple does not have a separate rule for cross-platform apps. Guideline 2.5.1 applies to everyone: “Apps may only use public APIs and must run on the currently shipping OS.” And 4.0 sets “minimum standards for approval” for design. A Flutter app that feels like a web page in a frame can be rejected for design; a well-built one passes like any other app. See guideline 4.0 design.
Side by side
| SwiftUI | Flutter | |
|---|---|---|
| Platforms | Apple only | iOS, Android, web, desktop |
| UI controls | System controls | Its own widget set |
| New Apple APIs | Immediately | Via plugins or Swift code |
| Widgets and extensions | Native | Native target, Flutter content possible |
| Language | Swift | Dart (plus some Swift for extensions) |
| Needs a Mac for iOS | Yes | Yes |
Which to pick
Pick SwiftUI if:
- your users are on Apple devices only (for example a Mac and iPhone companion app),
- the app is built around new Apple features (widgets, Watch, Vision Pro, deep system integration),
- you already know Swift well.
Pick Flutter if:
- you want iOS and Android at launch, or soon after,
- your app is mostly standard screens: lists, forms, charts, a paywall,
- you want one codebase, one test suite and one set of store assets to maintain.
For a broader view of cross-platform options, see React Native vs Flutter vs Kotlin Multiplatform and React Native vs Flutter in 2026.
MobileKit’s skills are built for the Flutter route, including the native extension steps.
Sources read on the day this post was written: Apple: SwiftUI, Flutter architectural overview, Flutter iOS app extensions, Flutter iOS setup, Flutter hot reload, Flutter supported platforms and App Store Review Guidelines.