I would like to replicate the back button transition seen in apps like the App Store or Apple Music. Specifically, I want to animate a custom-shaped back button into the default back button during navigation.
| AppleMusic | AppStore | 
|---|---|
| enter image description here | enter image description here | 
I initially considered changing backIndicatorImage and backIndicatorTransitionMaskImage, but since the custom button has a VisualEffect, it needs to be a custom UIView rather than just an image.
What would be the best approach to achieve this?
Using leftBarButtonItem seems like a viable option, but I’m unsure how to animate it into the default back button.
I don’t have a sample code yet since I’m not sure how to approach this. I would appreciate any guidance.
- 
 I want to avoid using a custom back button instead of the system-provided one, as long as it’s not a round button.Kngw Kngw– Kngw Kngw2025年02月16日 17:33:27 +00:00Commented Feb 16 at 17:33
 - 
 @matt Thank you for your comment! For MusicApp, it is ideal for buttons to switch using a transparency animation. Additionally, I would like to apply UIBlurEffect.Style.systemThinMaterialDark to the background of the round buttons.Kngw Kngw– Kngw Kngw2025年02月16日 18:32:42 +00:00Commented Feb 16 at 18:32
 - 
 There might be better approaches, but at this point, I believe using leftBarButtonItem is the best option.Kngw Kngw– Kngw Kngw2025年02月16日 18:41:11 +00:00Commented Feb 16 at 18:41