Apple Phone Clone

Apple Phone clone · Calling app · from our videos on X

Apple Phone Clone is the iPhone's Phone app rebuilt in SwiftUI in the iOS 26 style. Calls brings Favorites, Recents and Voicemail into one list, with missed calls in red and voicemails that open into a transcript that follows along as it plays. Incoming calls fill the screen with the caller's Contact Poster, and unknown numbers are screened with a live transcript of who is calling and why. Call the airline and Hold Assist offers to wait on hold for you, then tells you when a live agent is ready. Contacts, contact cards and the Keypad are all there, on fixture people.

  • iPhone · Swift
  • Built in 1 prompt
  • Free to remix
Apple Phone Clone, calling app built with Vibecode
Remix this template

Remix copies the working app into your account for free, exactly as we built it. It runs in Vibecode's cloud iOS simulator, in your browser.

Watch the video on X@vibecodeapp · Nov 29, 2026

The prompt that builds it

We built Apple Phone Clone in one prompt. Paste it into a new app to build your own copy, or change it first.

Prompt · 3,098 words

Build Phone, a polished native iPhone app in SwiftUI in the iOS 26 system style of the iPhone's built-in Phone app: the unified Calls list with Favorites, Recents and Voicemail, Contacts, the Keypad, the full-screen Contact Poster incoming call, the in-call screen, Call Screening with its live transcript, Hold Assist, and Visual Voicemail with transcripts. Simulated calls only: no real calling, microphone, audio, contacts access or network. The user is Alex Rivera in Brooklyn. Today is Sunday, November 29, 2026, the Sunday after Thanksgiving.

ASSETS
curl -L once and unzip flat: https://phone-092c.beacon.host/media.zip (phone-icon.png: the app icon; mom, dad, maya, grandma, jake, sis .jpg: Contact Poster photos, 828x1242; mom-avatar, dad-avatar, maya-avatar, grandma-avatar, jake-avatar, sis-avatar, leo-avatar, nina-avatar, sam-avatar, priya-avatar .jpg: contact photos, 400x400). Add them all to the asset catalog and set phone-icon.png as the app icon. Everything else is SF Symbols or drawn in code. No image generation is needed.

SHELL
Opens on the Calls tab: no splash, onboarding, sign-in or permission prompts. Light mode (force .light) everywhere except the call screens (always dark). The status bar stays visible on every screen (dark on the lists, white on the call screens). Root = one ZStack: the current tab's NavigationStack, the floating tab bar, the toast, and the CallOverlay on top (a full-screen view in the same ZStack, not a fullScreenCover or sheet), which hosts the incoming, screening, in-call and hold screens. When the overlay slides away, the list under it is already rendered: never a black or blank frame between them.

FORMAT (Format/)
One formatter with Locale(identifier: "en_US") and the America/New_York time zone for every date, time and number. The simulator's region is not en_US: never use the device locale. Times today "8:41 AM"; earlier: "Yesterday", weekday names this week ("Friday"), else "11/22/26". Durations "0:07", "3:12", "47:12". Numbers "(718) 555-0142".

FIXTURES (Data/Fixtures.swift: ONE list per kind; a new contact, call or voicemail is one entry)
Contacts (id · name · avatar · poster · number · label · favorite):
mom · "Mom" · mom-avatar · mom · (973) 555-0118 · mobile · yes
dad · "Dad" · dad-avatar · dad · (973) 555-0164 · mobile · yes
emma · "Emma" (sister) · sis-avatar · sis · (973) 555-0133 · iPhone · yes
maya · "Maya Chen" · maya-avatar · maya · (718) 555-0142 · iPhone · yes
grandma · "Grandma" · grandma-avatar · grandma · (973) 555-0107 · home · yes
jake · "Jake Miller" · jake-avatar · jake · (347) 555-0199 · mobile · yes
leo · "Leo Park" · leo-avatar · none · (917) 555-0176 · mobile
nina · "Nina Patel" · nina-avatar · none · (646) 555-0121 · work
sam · "Sam Rivera" · sam-avatar · none · (718) 555-0188 · mobile
priya · "Priya Shah" · priya-avatar · none · (917) 555-0150 · mobile
No photo (initials on a grey gradient circle): "Aunt Linda" (973) 555-0190, "Ben Carter" (917) 555-0111, "Chloe Nguyen" (646) 555-0170, "Dr. Patel's Office" (212) 555-0193, "Hannah Lee" (718) 555-0155, "Marcus Reed" (347) 555-0124, "Olivia Brooks" (917) 555-0181, "Pizza Palace" (718) 555-0102, "SkyHigh Airlines" (800) 555-0100, "Uncle Mike" (973) 555-0145.
Me: "Alex Rivera", (718) 555-0101.
Favorites order: Mom, Dad, Emma, Maya, Grandma, Jake (first names only under the circles).

Recents (times computed at launch from now, newest first; ONE CallRecord list: id, contactId or number, kind incoming/outgoing/missed/facetimeAudio/facetimeVideo/screened/spam, count, duration, minutesAgo or a day + time, note (optional subtitle, e.g. "Hold Assist"), voicemailId (optional), outcome (optional: text + SF Symbol + Color, shown instead of the label as the subtitle)):
Today: Mom · missed · 5 calls (now −2, −6, −11, −17, −24 min; one row "Mom (5)", time = the newest) · voicemail from Mom (now −23 min, 0:14) · Emma · outgoing · 3:12 · now −52 min · Unknown Caller (212) 555-0193 · screened · "Dr. Patel's Office" · now −80 min · SkyHigh Airlines · outgoing · 51:40 · note "Hold Assist" · now −2 h · Potential Spam (888) 555-0177 · spam · now −3 h.
Yesterday: Grandma · incoming · 0:52 · 6:14 PM · voicemail from Grandma (0:09) · Dad · outgoing · 1:15 · 2:30 PM · Jake · missed (2) · 11:02 AM.
Friday: Maya · FaceTime Audio · 14:20 · Aunt Linda · incoming · 22:05.
Thursday: Grandma · FaceTime Video · 31:40 · Uncle Mike · missed.
Voicemails (id · from · duration · transcript):
vm-mom · Mom · 0:14 · "Hi honey, it's Mom. Just calling to see if you got home safe. The roads looked terrible on the news. Call me back. Love you. Okay. Bye. Bye-bye. Bye."
vm-grandma · Grandma · 0:09 · "Did you take the leftover pie? I can't find it anywhere."
vm-dentist · Dr. Patel's Office · 0:11 · "Hi Alex, this is Dr. Patel's office confirming your cleaning tomorrow at 9 AM. Call us back if you need to reschedule."

SCREENS
1. Calls (the unified layout): large title "Calls" (34 pt bold); top-right glass circles: filter (line.3.horizontal.decrease: menu All, Missed, Voicemail, Unknown Callers, Spam; the list filters) and "Edit". A Favorites row: horizontal scroll of 72 pt photo circles with first names (13 pt) and a "+" circle at the end; a tap calls them. Then day sections ("Today", "Yesterday", "Friday", "Thursday"; 20 pt bold headers) of rows (64 pt, hairlines #C6C6C8 inset 76 pt): the 44 pt photo or initials circle; the name (17 pt semibold, RED #FF3B30 for missed, with " (5)") over the subtitle (15 pt #8E8E93): a small SF Symbol for the kind (phone.arrow.up.right outgoing, phone.arrow.down.left incoming, phone.down missed, video.fill FaceTime Video, phone.fill FaceTime Audio, waveform screened, exclamationmark.shield spam) + the label ("mobile") or the note or the outcome; at the right the time (15 pt #8E8E93) and an info button (info.circle, #007AFF) that opens the contact card. Voicemail rows: voicemail symbol, the name, and the transcript's first words in the subtitle (2 lines). Tapping a call row calls back (an outgoing call); swipe left: Delete. Lists get 120 pt bottom padding for the tab bar.
 Voicemail rows expand inline on tap (spring): a scrubber with a waveform drawn in code (60 bars), play/pause (simulated: the playhead runs at 1x over the duration), speaker, call back, delete; under it the transcript (17 pt) with each word turning from #8E8E93 to black as the playhead passes it (words spread evenly over the duration).
2. Contacts: large title "Contacts", a search field (filters live), "My Card" row (44 pt photo circle with initials "AR", "Alex Rivera", "My Card"), then A-Z sections (13 pt #8E8E93 headers) with a letter index on the right edge; rows: the name (17 pt). Tap → the contact card.
3. Contact card: a 380 pt header of the poster photo (or a gradient with the 120 pt initials circle) fading into #F2F2F7, the name (34 pt bold) at its bottom; four glass action tiles (message.fill "message", phone.fill "call", video.fill "video", envelope.fill "mail"); grouped cells: the label + number (#007AFF), "Contact Poster" (opens the poster full screen as a preview), "Notes", "Send Message", "Share Contact", "Add to Favorites", "Add to Emergency Contacts"; red "Block Caller" (confirm, toast).
4. Keypad: the number display (40 pt, formatted as typed: "(800) 555-01"), under it "Add Number" (#007AFF, 15 pt) once a digit exists, and the matching contact's name if any ("SkyHigh Airlines"); a 3x4 grid of 78 pt circles (#E5E5EA; digits 36 pt, letters "ABC" 10 pt bold with tracking; * and #), a 78 pt green #34C759 call circle (phone.fill), a delete.left button that appears with the first digit. Keys: pressed state (scale 0.94 + lighter fill 0.1 s), light haptics. Call → an outgoing call.
5. Tab bar: a floating Liquid Glass capsule (.glassEffect, or .ultraThinMaterial with a 0.5 pt white 25% border), 64 pt tall, 16 pt side margins, 8 pt above the home indicator, with three items icon over label (10 pt medium): Calls (phone.fill), Contacts (person.crop.circle.fill), Keypad (circle.grid.3x3.fill); a separate 64 pt glass circle to its right with magnifyingglass (opens a search field over Calls). Selected #007AFF with a glass lens that slides between items (matchedGeometryEffect, spring); others #3C3C43.

CALL SCREENS (Call/: the hero; all dark, inside CallOverlay)
A. Incoming (the Contact Poster): the poster photo fills the screen (aspect fill), always slowly breathing (scale 1.00 ↔ 1.04 over 6 s, a pure function of time, never stopping); a black gradient 0 → 35% over the top 260 pt and 0 → 60% over the bottom 360 pt. The name at the top (y ≈ 110 pt, 72 pt bold white, one line, minimumScaleFactor 0.5, a soft shadow), the label under it ("mobile", 17 pt white 80%). No-poster callers: a deep gradient #3A3A3C → #000 with a 120 pt initials circle (or person.fill for unknown numbers) and the number. Bottom: two 60 pt glass circles with 13 pt white labels: "Remind Me" (alarm.fill, x ≈ 100 pt) and "Message" (message.fill, x ≈ 302 pt) at y ≈ 620; under them two 76 pt circles at y ≈ 750: "Decline" (phone.down.fill on #FF3B30) and "Accept" (phone.fill on #34C759), 15 pt labels below. Accept sends out a ring every 1.2 s (scale 1 → 1.35, opacity 0.5 → 0). A call arrives by sliding down from the top (spring, 0.35 s), never a fade. Accept → B. Decline → the overlay slides down and the call becomes a missed Recents row.
B. In call: the same poster blurred (radius 30) and darkened 45% (no poster: the gradient); the 96 pt photo circle (y ≈ 150), the name (34 pt semibold white), the timer (17 pt white 70%, "0:01", every second, monospaced digits). Bottom: a 3x2 grid of 72 pt glass circles with 12 pt white labels: Speaker (speaker.wave.2.fill), FaceTime (video.fill), Mute (mic.slash.fill) / More (ellipsis), End (phone.down.fill on #FF3B30), Keypad (circle.grid.3x3.fill). Toggles: selected = white fill, black glyph. Incoming → in call: the poster blurs and darkens in place over 0.35 s while the circle, name and buttons fade in (one continuous change, no black frame). End → the timer reads "Call Ended" for 0.6 s, then the overlay slides down 0.35 s and the new Recents row is already at the top. Outgoing calls open on B with "calling…" in place of the timer for 1.0 s.
C. Call Screening (unknown numbers): screen A for the number, with a glass pill "Screening…" (15 pt) under the label; the TranscriptCard rises from below to y ≈ 250-590 pt (spring 0.4 s) and runs the call's script; Decline / Accept stay live under it.
D. Hold Assist (outgoing calls to SkyHigh Airlines): 2.0 s into the call a glass banner slides down from the top (18 pt corners, 12 pt margins): "Hold this Call?" (17 pt semibold) / "We'll let you know when someone's ready to talk." (15 pt) with a green "Hold" capsule and an xmark. Hold → the in-call screen shows "On Hold" (34 pt bold) over "Hold Assist is on" (17 pt), a hold timer counting up from 47:12, and 24 waveform bars moving (code, pure function of time). 4.0 s later: the banner "A live agent is ready" with a green "Answer Call" capsule, and the TranscriptCard shows what you missed (script hold-skyhigh). Answer Call → back to B with the timer.

TRANSCRIPT ENGINE (Call/Transcript/: the seams a remix uses)
- TranscriptLine: speaker (.caller / .me / .system), text, start (seconds from the script's start), wordsPerSecond (default 5). TranscriptView reveals each line word by word at its rate (each word fades in over 0.08 s; never a whole-line pop). .caller: left-aligned, 26 pt semibold white, no bubble. .me: right-aligned in a #0A84FF bubble (20 pt corners, 14 pt padding), 24 pt semibold white, with an optional badge SF Symbol before the text. .system: centred, 15 pt white 60%. The view scrolls so the newest line stays visible.
- TranscriptCard: Liquid Glass (dark tint, 28 pt corners, 16 pt side margins); a header row with the script's SF Symbol and text (15 pt semibold, tinted); the TranscriptView; and, when the script ends, its outcome as a glass capsule at the card's bottom (17 pt semibold, the outcome's symbol and colour), scaling in from 0.9 with a spring.
- CallScript: id, contactId or number, header (text + SF Symbol + tint Color), delay (seconds after the call appears before the card rises; default 0.30), lines [TranscriptLine], outcome (optional: text + SF Symbol + Color), endsCall (Bool: 0.6 s after the outcome the call ends, the overlay slides down, and the Recents row shows the outcome as its subtitle).
- ScriptCatalog.screening: "screen-dentist" (number (212) 555-0193, header "Asking for name and reason…" waveform #8E8E93; caller line at 0.4: "Hi, this is Dr. Patel's office calling to confirm Alex's cleaning tomorrow at 9."); "hold-skyhigh" (header "While you were on hold" clock.fill; caller line at 0.2: "Thank you for holding. This is Dana with SkyHigh. How can I help?").
- AutopilotCatalog.all = [] here: CallScripts that run automatically when that contact calls. The incoming screen checks it first: an entry for the caller raises the card after its delay and runs its script exactly like screening (HOOK MODE's incoming at 0.00 included). Empty in this app; a remix adds an entry.
- CallSession (@Observable, one, at the root): caller (contact or number), direction, phase (incoming/screening/active/onHold/ended), startDate, the running script and its start time. CallOverlay draws ONLY from the session.
- DemoStep (absolute seconds from the start): incoming(contactId or number) (no animation when at 0.00), runScript(id), accept, decline, end, outgoing(contactId), holdBanner, hold, agentReady, answerFromHold, selectTab, expandVoicemail(id), play, keypadType(digits, perKey), dot(x, y, glide), tap(x, y), hideDot. ScriptPlayer runs a [DemoStep] on the main actor against its start time (absolute times, so drift never builds).
- TouchDot: drawn above everything (44 pt, white 30% with a 3 pt white ring and a soft shadow on dark screens, black 35% with a white ring on light ones); scales in as it lands, glides between points; hideDot fades it out 0.25 s after the last press.

HOOK (the video's first 3 seconds)
- HOOK MODE: tapping an invisible 24x60 pt strip at the RIGHT edge (x 378-402, y 300-360 pt), in its own window above everything (posters, in-call, banners, toasts; a tap there closes whatever is open), resets everything and plays DemoScript.hook through the real ScriptPlayer, CallSession and CallOverlay, identical every time (seconds from the tap):
 0.00 with no animation: the Calls tab at the top; the incoming call from Mom already full screen (her poster, "Mom", "mobile", the buttons), the poster's breathing already mid-cycle and Accept's ring mid-pulse (never a slide-in or fade-in).
 0.00-0.40 hold exactly that (it keeps breathing and pulsing).
 0.40 the TouchDot lands on Accept (glides up from below the screen in 0.25 s); 0.70 accept: the in-call screen ("Mom", "0:01").
 2.00 the dot taps End; "Call Ended"; the overlay slides down onto Calls with Mom's new row on top; 3.30 hideDot.
- Every wait uses the hook's own times, never the app's normal delays.
- What the eye must see: frame 0 fully drawn (photo, name, buttons; no fade-in, no empty screen); something moves every frame; no flash longer than 0.1 s.

TOUR MODE (for filming the app's other moves)
Tapping an invisible 24x60 pt strip at the LEFT edge (x 0-24, y 300-360 pt), same window, resets and plays DemoScript.tour (seconds from the tap): 0.0 Calls at the top; 0.6 the dot taps Mom's voicemail row (it expands); 1.2 play: the words of "Hi honey, it's Mom…" darken as it plays (0:14 at 1x); 8.0 an unknown call from (212) 555-0193 slides down with "Screening…"; 8.5 runScript screen-dentist; 12.0 the dot taps Decline; 13.0 the dot taps the Keypad tab; 13.6 keypadType "8005550100" at 0.12 s per key (the dot taps each key); 15.2 the dot taps the call circle: SkyHigh Airlines, "calling…"; 18.2 holdBanner; 19.0 the dot taps Hold; 23.0 agentReady (banner + transcript card); 25.0 the dot taps Answer Call; 27.0 the dot taps End; 28.3 hideDot. Every press goes through the real button actions.

LOOK
iOS 26 light lists: background white, grouped #F2F2F7, text black, secondary #8E8E93, separators #C6C6C8, tint #007AFF, call green #34C759, red #FF3B30. Call screens: black, white text. SF Pro (no rounded fonts), numbers .monospacedDigit(). Liquid Glass (.glassEffect, or .ultraThinMaterial with a 0.5 pt white 25% border) on the tab bar, top buttons, call buttons, banners, the card and toasts. Springs under 450 ms, light haptics on taps, pressed states (scale 0.96). Photos aspect-filled and decoded at launch, off the main thread.

RULES
- Native SwiftUI, iOS 26 (keep the template's target), iPhone portrait.
- Deterministic fixtures. No backend, login, permissions, CallKit, contacts access, microphone, audio, notifications, analytics or network calls at runtime. No persistence: delete the SwiftData starter, no UserDefaults or files.
- Files under 300 lines, big bodies split into subviews, no long chained expressions; every animation smooth at 60 fps.
- Keep every file inside /home/user/workspace (/tmp is denied).

REMIX-READY
Theme/Theme.swift (colours, fonts, metrics; no colour literals elsewhere), Theme/Copy.swift (every word), Data/Fixtures.swift, Data/DemoScript.swift (HOOK MODE and TOUR MODE as [DemoStep]). Codable models with String ids (Contact, CallRecord, Voicemail, CallScript) behind one PhoneDataSource protocol (FixtureSource) feeding an @Observable PhoneStore (contacts, recents, voicemails, selected tab, filter, expanded voicemail, toasts). CallSession, CallScript + ScriptCatalog + AutopilotCatalog, TranscriptView and ScriptPlayer are the seams. Components/: AvatarCircle, PosterBackground, CallButton, GlassCircleButton, GlassTabBar, ListRow, VoicemailRow, KeypadKey, Banner, Toast, TouchDot; Call/: CallOverlay, IncomingCallView, InCallView, HoldView, TranscriptCard, TranscriptView. Features/<Tab>/ and Features/ContactCard/. README.md under 80 lines: the file map; how to rename the app, restyle it, add a contact or a call script; 3 one-prompt remixes (an AI receptionist for a small business that screens and books callers; a family check-in app where Grandma's calls show a big-text transcript; a call-center trainer that scores your call). "Read README.md first." atop CLAUDE.md and ios/AGENTS.md; replace ios/CLAUDE.md's structure block with this app's files. No scratch folders.

FILMING
Long-press the "Calls" title for 1 s to reset everything to launch (Calls tab at the top, no call, voicemails collapsed, filters off, toasts gone).

BUILD
Theme, Copy, Fixtures and Format, then the Calls list with the tab bar (launch and look first), then Contacts, the contact card and the Keypad, then CallOverlay with the incoming poster, in call, the TranscriptCard and ScriptPlayer with HOOK MODE, then Call Screening, Hold Assist, voicemail playback and TOUR MODE; a one-line status per screen; launch in the simulator every two or three files. Fetch media.zip as soon as the shell runs; check the files exist, never view them. Walk each flow once and fix what breaks; no pixel measuring or debug modes. Deliver the whole app, not a plan. Do not publish.
All templates