WWDC23 SALE: Save 50% on all my Swift books and bundles! >>

SOLVED: Project 11 question

Forums > 100 Days of SwiftUI

Hi there,

In the project 11, when i go in detail view it shows for one book "<Back" in the top left but for the other books it shows "<Bookworm". Can someone explain me why ?

Thank you :)


Because of the length of the title. The navbar button will show the name of the previous screen unless there isn't enough room for it, in which case it will just show "Back". And if the title gets really long, the back button will just show the arrow.


Ok, thank you very much for the help :)

Is there a way to force the "<Back" and not the name of the app?


It's not the name of the app, it's the name of the previous page.

To force it to be different, you could play around with the info given in this blog post: Custom Back buttons in SwiftUI | Matthew's Dev Blog


Thank you very much Rossterboy :)


Save 50% in my WWDC23 sale.

SAVE 50% To celebrate WWDC23, all our books and bundles are half price, so you can take your Swift knowledge further without spending big! Get the Swift Power Pack to build your iOS career faster, get the Swift Platform Pack to builds apps for macOS, watchOS, and beyond, or get the Swift Plus Pack to learn advanced design patterns, testing skills, and more.

Save 50% on all our books and bundles!

Archived topic

This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.

All interactions here are governed by our code of conduct.

Unknown user

You are not logged in

Log in or create account

Link copied to your pasteboard.