I have an issue with collapsing navigation bar with largeTitles enabled. Basically if there is nothing under the table view, everything is working fine. Once I am adding a default image under the table view, scroll is working on table view, but large navigation bar is stuck in large position.
NavigationBar large title not collapse when I have custom image/view under tableView iOS 13
445 Views Asked by Bonnke At
1
There are 1 best solutions below
Related Questions in SWIFT
- Overlapping UICollectionView in storyboard
- Cannot pod spec lint because of undeclared type errors
- Swift code with multiple NSDateFormatter - optimization
- How do I add multiple in app purchases in Swift Spritekit?
- cellForRowAtIndexPath and prepareForSegue return different label colors
- Getting this message in my console in xcode "Ignoring restoreCompletedTransactionsWithApplicationUsername: because already restoring transactions"?
- Change background of an Accessory View in a UITableViewCell
- fade in an bounce animation subview
- Create a PFObject and PFRelation after PFUser Sign Up
- Swift 2 - Pattern matching in "if"
- How do I give inputs through NSURL
- How do I add custom cells to TableView in Swift?
- UIWebView not loading URL in simulator
- Compiler complains that 'Expression resolved to unused function' when removing index in array of functions
- Cast from 'Int?' to unrelated type 'NSNumber' always fails
Related Questions in NAVIGATIONBAR
- html/css Vertical Navigation Bar
- NavigationView fistsSystemWindows with Translucent NavigationBar
- How to change status bar color in iOS7
- How to hide navigation bar in Android app?
- Android Navigation Bar covering viewpager content
- Navigation bar extended clickable area
- How can I make the status bar match a UINavigationBar's colour in Swift?
- Custom sticky navigation bar is very choppy
- matplotlib toolbar does not work in tkinter gui
- Navigation Menu Shrinks with Browser Sizing - CSS Issue
- HTML5/CSS can not contain ul with in ul in Microsoft Web Express
- Changing title of navigation bar from a file
- I'm trying to move the links in navigation bar to right by 160px but i can't do that
- Can't see Top Navigation Bar on Root View Controller
- Zurb Foundation topbar dropdown disappears on small screens
Related Questions in IOS13
- Since iOS 14, my app does not display images only when with the debugger or a device with iOS 13. Also, the keyboard won't show all keys
- Xcode 11 running on Mojave fails despite Apple's documentation saying Mojave is supported
- SwiftUI List updating from Method
- NavigationLink hides the Destination View, or causes infinite view updates
- Getting Error while upgrading to new Xcode 12
- App behavior changes when going from iOS 13.6.1 to iOS 14
- Ios13: performFetchWithCompletionHandler not getting called anymore
- Swift timer not following correct interval
- Cloud Firestore .getDocuments callback not functioning on Swift5
- Can we use VoIP push for normal push notification?
- Apps complied with xCode 11.7 but running on iOS 14+ issues
- Getting issue on strokeWidth NSAttributedString in iOS 14
- NSKeyValuePopPendingNotificationLocal Crash on iOS 13 and 14
- Exclude UI elements from ReplayKit screen capturing
- how to present a tabBarViewController(created in storyboard) using code when pressed a particular button in swift5?
Related Questions in LARGE-TITLE
- iOS 14 large-title navigation bar doesn’t come back after shrinking
- Large navigation bar custom height
- Partial search updater frame when large title used
- SwiftUI: How to align a NavigationBarItem with a large title navigation title?
- iOS 11 large navigation bar title unexpected velocity
- How to set multi line Large title in navigation bar? ( New feature of iOS 11)
- Xcode lock view to bouncing navigation bar
- iOS 11 scroll to top when using large titles doesn't work properly
- Wrong large title animation with custom back button font
- custom navigation bar with image and two titles in iOS
- How to tweak large title in order to keep the transition but hide the large title itself?
- NavigationBar large title not collapse when I have custom image/view under tableView iOS 13
- Show search bar in navigation bar and large title also without scrolling on iOS 13
- How to hide large title iOS 11 search controller
- iOS 11 largetitle bar tint color cannot be set
Related Questions in PREFERSLARGETITLES
- Manually refresh UIRefreshControl not visible when using `navigationBar.prefersLargeTitles`
- UINavigationController with `prefersLargeTitle` set to true doesn't show large title right away - You have to scroll up for it to show
- Large title doesn't collapse in UIPageViewController with scroll transition style
- Swift - Segue between Views with different titleDisplayMode shows a black bar
- How to create a left aligned title with prefersLargeTitles in navigationBar?
- adding image behind UITableView make large title stop collapsing when scroll
- Remove 1px line at top of UISearchController in large titles UINavigationBar
- iOS 11 prefersLargeTitles animation not smooth
- Smooth transition when changing navigation bar "prefersLargeTitles"
- What are the font attributes of the text in prefersLargeTitles property?
- Partial search updater frame when large title used
- How can i manage both button of navigation bar when scrolling table with large navigation title?
- Make Navigation Controller's largeTitleDisplayMode react to specific scrollViews
- prefersLargeTtitles Collapses Automatically after Loading WKWebView Webpage
- Title and Subtitle on Large Navigation Bar Swift
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)
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?

So, after a long search and a lot of tries, finally I figure out in a different way:
tblSettings.backgroundView = UIImageView(image: UIImage(named: "yourImageName"))Setting
backgroundViewtoUITableViewit will allow navigation bar to animate properly to large and normal titles.Hope this will someone!