I'm using a tab bar view controller with more than 5 items and it's showing as the fifth item an item named "More". I want to avoid that item and make the scrollable tab bar. ThanksImage
Scrollable tab bar in swift
3k views Asked by Teodoro At
2
There are 2 answers
0
AudioBubble
On
I know this is old but maybe you could add a UIView to a Tab Bar Controllers scene (not the actual controller) and then add a UICollectionView on top of that same UIView of yours to create a custom Tab Bar. You would have to change the size and flow layout for the collection view but other than that if you are familiar with switch statements and delegates I don't see why it couldn't work!
Related Questions in SWIFT
- Navigate after logged in with webservice
- URLSession requesting JSON array from server not working
- When using onDrag in SwiftUI on Mac how can I detect when the dragged object has been released anywhere?
- Protect OpenAI key using Firebase function
- How to correct error: "Cannot convert value of type 'MyType.Type' to expected argument type 'Binding<MyType>'"?
- How to share metadata of an audio url file to a WhatsApp conversation with friends
- Using @Bindable with a Observable type in SwiftUI
- How to make a scroll view of 9 images in a forEach loop open on image 6 if image 6 is clicked on from a grid?
- Using MTLPixelFormat.rgba16Float results in random round-off errors
- Search and highlight text of current text in PDFKit Swift
- How is passing a function as a parameter related to escaping autoclosure?
- Actionable notification api call not working in background
- Custom layout occupies all horizontal space
- Is it possible to fix slow CKAsset loading on Cloudkit?
- Thread 1: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value - MapView.isMyLocationEnabled
Related Questions in SCROLL
- How to clip grid cell and provide scroll as well?
- Understanding Scroll Anchoring Behavoir
- Scrolling Instagram Followers Not Working
- Trigger JS when scrolling and record event to PHP
- How to scroll to the bottom of console window in PyCharm2019 automatically?
- Termux: Different scrolling behaviour after "screen"-command
- Making a Back to the Top button on Javascript
- Jittery Behavior on First Scroll in React Header Component
- Problem with locomotivescroll nextjs typescript working
- How to shrink a sibling while scrolling a sibling below?
- How to set an individual mouse scroll on two different canvases that are connected to separate frames but the frames are one on top of eachother?
- Pin section and change tabs on vertical scroll with GSAP or just javascript
- Kotlin/Compose: Why won't my lazyColumn scroll?
- How to "stop" an element after scrolling to another element
- Scroll View android studio
Related Questions in XCODE6
- How behave alternate icons feature regarding app updates?
- incorrect architecture in 3u tools from clickteam project
- How to setup and use Apache arrow from within Xcode C++ project
- Xamarin.ios not running in visual studio on mac
- Could not build the application for the simulator. Error launching application on iPhone 11 Pro
- Sum up values in multidimensional array in c++ and store it in another multidimensional array
- Trying to add two images in a UI image
- Xcode set up with Appium
- Network Extension capability missing in dev portal
- Cannot find 'SwiftUIWebView' in scope
- Swift UI: App looks different in simulator than on same iPhone model
- Xcode 6.2 fails to download docsets, complains they're "untrusted"
- I've just ejected expo react native app. How do I run the app via xcode?
- Add photo to a section in UITableview
- Variable unexpectedly resetting to 0 when View Controller Switched
Related Questions in UITABBARCONTROLLER
- Navigation Controller not working after adding Tabbar controller
- Show "tutorial" over UITabBarViewController with constraints in Swift?
- How to dismiss a Tab Bar Controller from inside one of its own tabs?
- iOS - UITabBarItem long titles overlap using UITabBarAppearance
- Unable to customize my navigation bar inside the viewcontroller that is under a tabbar controller
- iOS doesn't show tab bar after popping a view controller with hidesBottomBarWhenPushed sets to true
- iOS 17 UIKit TabBar Item Animation
- How do I add a tabBar Item without having to add navigation controller?
- How to use UITabBarController with multiple storyboards?
- How to add these capsule shape behind the selected tab bar item image
- Fail to Push View Controller in "More" Tab in TabBarController
- How to create a referencing outlet for a Tab Bar Controller
- How can I change the unselected tabbar button color?
- TabBar background color is changing even though I don't want it to
- Swift Tab Bar remains translucent
Related Questions in UITABBAR
- Show "tutorial" over UITabBarViewController with constraints in Swift?
- I want to make Tab bar like app store UIKit
- How can I make custom tabbed page in MAUI?
- iOS - UITabBarItem long titles overlap using UITabBarAppearance
- How to animate UITabBar backgroundColor in iOS 17.0
- How to add these capsule shape behind the selected tab bar item image
- Swift change corner radius of image in TabBar using url data
- i pad tab bar unselected item color is not changing but working fine in iphone
- How can I change the unselected tabbar button color?
- Swift Tab Bar remains translucent
- Vertical positioning of text in UITabBar changes when multitasking size changes - how to correct?
- How to change UITabBar background color?
- Add a circle as a selection indicator above UITabbarItem in Swift
- UITabBar: Set Icon Color as Pattern Image
- UI Tab bar is not changing if UITabBarAppearance is active?
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)
I don't think you can subclass UITabBar and get what you want.
You probably need to create this as a custom UI object. You could create it using a UIScrollview.
If you are a beginner then this is likely over your head.