0

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.

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.

asked Feb 16 at 17:24
3
  • I want to avoid using a custom back button instead of the system-provided one, as long as it’s not a round button. Commented 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. Commented Feb 16 at 18:32
  • There might be better approaches, but at this point, I believe using leftBarButtonItem is the best option. Commented Feb 16 at 18:41

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.