I'm struggling with "Master-Detail" concept and almost everything works as expected except one little(but important) nuance. What should I change on the storyboard to have Back button on Detail view(the right corner at the bottom on the screenshot)?
Back button in the Detail view
2.2k views Asked by danilabagroff At
2
There are 2 answers
0
Dan
On
This is an older question, but I just ran into the same thing. The issue is you do not need the navigation controller at the bottom right. Since that is a new navigation controller it will not have a back button, because it only contains one item in its stack.
Remove the bottom right navigation controller and just segue directly to the view controller and that will do it.
Additional tip... to remove the navigation controller and preserve the view, delete the link from the navigation controller to the view, and delete the segue links to the navigation controller. Then recreate the segues directly to your view controller.
Related Questions in IOS
- URLSession requesting JSON array from server not working
- Incorrect display of LinearGradientBrush in IOS
- Module not found when building flutter app for IOS
- How to share metadata of an audio url file to a WhatsApp conversation with friends
- Occasional crash at NSURLSessionDataTask dataTaskWithRequest:completionHandler:
- Expo Deep linking on iOS is not working (because of Google sign-in?)
- On iOS, the keyboard does not offer a 6-character SMS code
- Hi, there is an error happened when I build my flutter app, after I'm installing firebase packages occurs that error
- The copy/paste functionalities don't work only on iOS in the Flutter app
- Hide LiveActivityIntent Button from Shortcuts App
- While Running Github Actions Pipeline: No Signing Certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID
- Actionable notification api call not working in background
- Accessibility : Full keyboard access with scroll view in swiftui
- There is a problem with the request entity - You are not allowed to create 'iOS' profile with App ID 'XXXX'
- I am getting "binding has not yet been initialized" error when trying to connect firebase with flutter
Related Questions in UINAVIGATIONCONTROLLER
- Navigation Controller not working after adding Tabbar controller
- Open View When Notification Tapped
- Present UIViewController using sheetPresentationController inside UINavigationController
- Navigating two times from landscape to portrait
- Swift arabic version, delaying happening after click back or push a view controller, in the navigation bar
- iOS 17 - SwiftUI push navigation animations start breaking
- performSegue() works to show (push) either of two UIViewControllers, but one has nil navigationController
- hidesBottomBarWhenPushed is not working when using UIPageViewController swift
- iOS UITableView content goes under UINavigationBar weird bug when inputAccessoryView containing UITextView shows keyboard
- UINavigationController glitchy animation when pushing new view controller
- passing date value in navigation-compose
- why navigationbar is overlapping the view which is below of it when dragging?
- iOS UINavigationController How to push view controller from left to right when showing right to left languages
- Converting my smartwatch into a compass for my bike as a accessory
- UiNavigationController - title in navigation bar is off-center when right side has 2 buttons
Related Questions in STORYBOARD
- Thread 1: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value - MapView.isMyLocationEnabled
- ViewController (Declared in Binary Framework) not detected by XIB / Storyboard
- ScrollView disable on Device Orientation
- XCode Storyboard corruption
- How to make a collection view scroll only in one direction using storyboard?
- Rendering iOS storyboard file in maui
- How to Animate Transforms in code behind?
- How to hide new close Button in WatchOS storyboard in xcode 15?
- UIToolbar force left to right semantic not working
- How to access the storyboard of an SDK?
- iOS SwiftUI Custom Tab bar view hiding when navigating between UIViewControllerRepresentable
- Can't locate storyboard constraints warnings in Xcode
- How to make the safe area on top and bottom of the view in WKWebView non-transparent?
- Rotation Animation on Datatrigger only triggers once WPF
- How to add UIPasteContol button in Xcode for target below 16.0?
Related Questions in UISPLITVIEWCONTROLLER
- Navigation bar in UISplitViewController not shown in Supplementary View
- Reliably knowing when UISplitViewController shows the primary view
- Apple does not support UISplitViewController.DisplayMode.PrimaryOnly as splitViewController.preferredDisplayMode
- UITabBarController as secondary controller in UISplitViewController is producing 2 navigation bars in compact view
- Disable Sidebar of NavigationSplitView programmatically
- UISplitViewController's detailViewController is nil when overrideUserInterfaceStyle is set to .dark
- UISplitViewController displays button to change the display mode even when presentsWithGesture = false
- UISplitViewController - rightBarButtonItem on the primary view controller does not work
- Adding Behavior to Transition Buttons in UISplitViewController for Different Display Modes
- inputAccessoryView getting hidden on UISearchBar activation in UISplitViewController
- iOS does an unwanted pop of the navigation controller when the phone rotates
- View's layout is not entirely in the range of the primary view area
- Swift / React Native How to know split view / slide over app's position relative to the whole screen?
- Drawing issues using SwiftUI view as a PrimaryView in uisplitviewcontroller
- How to preserve split view divider configuration in Mac Catalyst app?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)

So far don't get anything straight. If you want like just below screen then you have to hide your navigationItem backbutton in viewDidLoad like this
Then in storyboard you have add a toolbar and set it's item title 'Back'. You can also set image for it.
Then drag an action from this item and write this line inside that action
You may get an warning but you will get your desire action
Storyboard