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 best solutions below
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
- 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 SCROLL
- Scrollable Edittext in Listview in android
- Slow drawing of items in ListView with many columns
- GWT Datagrid slow scroll due to css rendering
- Scrolling pictures increase (android)
- backgrounds Slideshow, but text scrolling
- Android - RecyclerView - How do I temporarily prevent scrolling?
- Onscroll not applying class
- Fix on scroll but with varying screen size no set pixel distance
- Change logo when scrolled to a certain div
- Targetting the background of a div for a jquery parrallax scroller
- Jquery panel + scroll from top detection?
- Button fixed to page when scrolling in mobile view with Javascript
- Homepage scrolling issues
- Super Mario side-scrolling C#
- How to detect which element is on the center of the screen with scroll position?
Related Questions in XCODE6
- iOS: None of the valid provisioning profiles allowed the specific entitlements
- UIWebView not loading URL in simulator
- How to set the time of Local notification in app to random between two times? (swift)
- Can Clang Static Analyzer be used with Swift?
- Xcode Interface Builder loading XIB file show view with transparency
- Getting dyld_fatal_error Xcode 6.3.2
- UIVIew from XIB with Autolayout to UItableView Header
- How can I get the length of text entered into UITextView as the user types?
- SDWebImage error for loading image
- UIWebView contents are not showing
- How can I get an image to fit the whole screen?
- Custom font iOS 8 not effect in device
- Swift: NSDate losing sub-Second precision after loading
- Property 'package_number_7' not found on object of type 'User *' after Lightweight Migration
- Xcode 6 archive process does not fire pre/post/build phase script for auto build increment
Related Questions in UITABBARCONTROLLER
- Using Navigation Controller in TabBar Controller Iphone 6+ IOS 8.3
- How is it I can animate the change in bar tint color of a UINavigationBar but not a UITabBar?
- How i pass Data from SlideOut TableViewController to TableView embedded in ViewController
- UITabBarController customisation page top bar colour swift
- view with navigationController over tabBarController
- How to pre-render MKMapView from other viewcontroller?
- Exception when adding UICollectionViewController to UITabbarController
- UITabBar Wierd Height Difference
- Swift: How to execute an action when UITabBarItem is pressed
- How to add custom gesture to a tab in UITabBarController
- Hide a UIViewController (Screen) in swift
- Set the second tab as default tab in swift
- Found nil while unwrapping an Optional Value
- Modal view controller pushed from tab view controller always returning to first tab
- Scrollable tab bar in swift
Related Questions in UITABBAR
- Custom UITabBar unselected item's color
- UITabBar item is not staying selected after i select it?
- Set UITabBarItem Badge
- Getting Default Unselected TintColor of UITabBarItem Image
- How can I animate a UITabBar off the screen and recognize taps where it would normally reside?
- How do I create custom tab bar icons?
- Set the second tab as default tab in swift
- Scrollable tab bar in swift
- How to resize an UITabBar selection indicator image in landscape
- UITabBar / UITabBarController Blocking Touches When Scrolled Away
- how to close a tabbar swift
- Why does't the selectedImage of a tab bar show up properly?
- "Default" view in UITabBarController
- Changing UITabBarItem image's color
- setTintColor and setSelectedImageTintColor are not working properly together
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?
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.