Close Menu
  • Home
  • AI
  • Big Data
  • Cloud Computing
  • iOS Development
  • IoT
  • IT/ Cybersecurity
  • Tech
    • Nanotechnology
    • Green Technology
    • Apple
    • Software Development
    • Software Engineering

Subscribe to Updates

Get the latest technology news from Bigteetechhub about IT, Cybersecurity and Big Data.

    What's Hot

    Fresh mischief and digital shenanigans

    May 16, 2026

    Focus on stock indexes to boost company sustainability efforts

    May 16, 2026

    How Data-Driven Journalists Are Using API News Apps to Improve Reporting

    May 16, 2026
    Facebook X (Twitter) Instagram
    Facebook X (Twitter) Instagram
    Big Tee Tech Hub
    • Home
    • AI
    • Big Data
    • Cloud Computing
    • iOS Development
    • IoT
    • IT/ Cybersecurity
    • Tech
      • Nanotechnology
      • Green Technology
      • Apple
      • Software Development
      • Software Engineering
    Big Tee Tech Hub
    Home»iOS Development»swift – How Do I Replicate the Exact Native iMessage Contact/Profile Transition Animation in iOS?
    iOS Development

    swift – How Do I Replicate the Exact Native iMessage Contact/Profile Transition Animation in iOS?

    big tee tech hubBy big tee tech hubMay 16, 2026002 Mins Read
    Share Facebook Twitter Pinterest Copy Link LinkedIn Tumblr Email Telegram WhatsApp
    Follow Us
    Google News Flipboard
    swift – How Do I Replicate the Exact Native iMessage Contact/Profile Transition Animation in iOS?
    Share
    Facebook Twitter LinkedIn Pinterest Email Copy Link


    This looks like a zoom navigation transition going to a full screen cover.

    A zoom navigation transition is implemented by using .navigationTransition in combination with .matchedTransitionSource. I have no idea how you would ask Claude/Codex to generate this for you, but here is an example that shows it working:

    struct ContentView: View {
        @State private var isShowingDetail = false
        @Namespace private var ns
    
        var body: some View {
            VStack {
                Button {
                    isShowingDetail = true
                } label: {
                    VStack {
                        Image(systemName: "person.crop.circle.fill")
                            .font(.largeTitle)
                            .imageScale(.large)
                            .foregroundStyle(.indigo)
                        Text("Name")
                    }
                }
                .buttonStyle(.plain)
                .matchedTransitionSource(id: 0, in: ns)
                Text("Other content")
                    .frame(maxWidth: .infinity, maxHeight: .infinity)
            }
            .fullScreenCover(isPresented: $isShowingDetail) {
                DetailView()
                    .navigationTransition(.zoom(sourceID: 0, in: ns))
            }
        }
    }
    
    struct DetailView: View {
        @Environment(\.dismiss) private var dismiss
    
        var body: some View {
            NavigationStack {
                Text("Detail view")
                    .toolbar {
                        ToolbarItem(placement: .topBarLeading) {
                            Button("Back", systemImage: "chevron.backward") {
                                dismiss()
                            }
                        }
                    }
            }
        }
    }
    

    Animation


    You also mentioned:

    that new screen should have a transparent/glass effect as well

    I am not sure, whether the Messages app has a glass effect, or whether it uses a material background for the overlay. Or it might be a combination of both. In any case, you can implement the effect by applying .presentationBackground(.clear) to the full screen cover and setting the desired background behind the content of the detail view. Something like:

    DetailView()
        .presentationBackground(.clear)
        .navigationTransition(.zoom(sourceID: 0, in: ns))
    
    // DetailView
    
    NavigationStack {
        // ...
    }
    .background {
        Rectangle()
            .fill(.regularMaterial)
            .glassEffect(.clear, in: .containerRelative)
            .ignoresSafeArea()
    }
    

    Unfortunately, it seems that the background only gets shown once the zoom transition has completed, which does not give a great user experience. The post Weird animation when Glass Element is the source of a navigationTransition also relates to this issue.



    Source link

    Animation ContactProfile exact iMessage iOS native Replicate Swift Transition
    Follow on Google News Follow on Flipboard
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email Copy Link
    tonirufai
    big tee tech hub
    • Website

    Related Posts

    ios – React Native expo-video clip plays for 1 second then freezes only on European devices

    May 15, 2026

    Apple has won a prestigious award for iOS 26’s Liquid Glass design

    May 14, 2026

    ios – How can I dynamically load xcframeworks only when they are used, not at the start of the app?

    May 14, 2026
    Add A Comment
    Leave A Reply Cancel Reply

    Editors Picks

    Fresh mischief and digital shenanigans

    May 16, 2026

    Focus on stock indexes to boost company sustainability efforts

    May 16, 2026

    How Data-Driven Journalists Are Using API News Apps to Improve Reporting

    May 16, 2026

    swift – How Do I Replicate the Exact Native iMessage Contact/Profile Transition Animation in iOS?

    May 16, 2026
    Timer Code
    15 Second Timer for Articles
    20
    About Us
    About Us

    Welcome To big tee tech hub. Big tee tech hub is a Professional seo tools Platform. Here we will provide you only interesting content, which you will like very much. We’re dedicated to providing you the best of seo tools, with a focus on dependability and tools. We’re working to turn our passion for seo tools into a booming online website. We hope you enjoy our seo tools as much as we enjoy offering them to you.

    Don't Miss!

    Fresh mischief and digital shenanigans

    May 16, 2026

    Focus on stock indexes to boost company sustainability efforts

    May 16, 2026

    Subscribe to Updates

    Get the latest technology news from Bigteetechhub about IT, Cybersecurity and Big Data.

      • About Us
      • Contact Us
      • Disclaimer
      • Privacy Policy
      • Terms and Conditions
      © 2026 bigteetechhub.All Right Reserved

      Type above and press Enter to search. Press Esc to cancel.