Post

Replies

Boosts

Views

Activity

Reply to UIBarButtonItem Long Press Menu
Looking through the headers in the iOS 14 SDK, it appears that a property has been added to UINavigationItem: backButtonDisplayMode. One of the enumeration values available is UINavigationItemBackButtonDisplayModeMinimal (.minimal, in Swift). According to the comment in the header:     /// Don't use a title, just the back button indicator image. So it appears there is a way to have the "Back" item appear with no text, but also use the normal methods for providing a meaningful title for purposes of the menu.
Topic: Programming Languages SubTopic: Swift Tags:
Aug ’20
Reply to UIBarButtonItem Long Press Menu
I would like to know this as well. We use the same technique so that the "Back" item appears with no text, but for purposes of the menu we would like to provide a meaningful title for each item on the navigation stack (as opposed to presenting a menu of empty entries).
Topic: Programming Languages SubTopic: Swift Tags:
Aug ’20