2,314 questions
-3
votes
1
answer
28
views
How to smoothly switch between tabs with nested UINavigationControllers and remove previous views from stack in UIKit? (Old problem but revisiting) [closed]
This is an old problem that I haven't encountered in a while, but I’m revisiting it now and need some help. I am working on an iOS app using UIKit and Storyboards, and I’ve come across an issue where ...
0
votes
2
answers
56
views
Custom TabBar with center rounded button SwiftUI
Here is what I am trying to do:
The screenshot is taken from a 14 iPhone.
I want to manage the layout like the first image, where all the spacing and circle spacing are reduced. How can I achieve ...
1
vote
1
answer
57
views
How to prevent interactions with hidden TabBar area without blocking other UI elements? [closed]
The Problem
I have a custom TabBar in SwiftUI that can be shown/hidden with animation. The issue is with handling interactions when the TabBar is hidden:
I need to prevent any interactions in the ...
1
vote
1
answer
213
views
IPadOS 18 UiTabBarController 5+ tabs without ‘more’ button
Prior to iOS 18 apple allowed to have 6 tabs without ‘more’ button for iPads. Horizontal size class set to ‘compact’ reverts tab bar back to the bottom but only 5 tabs are allowed without more buttons....
3
votes
1
answer
325
views
iOS 18 per item badge color on UITabBar
Up to Xcode 15 and iOS 17, it was easy to change the tab bar item badge color in UIKit using this kind of code:
private func setupBadgeColors(item: UITabBarItem?, backgroundColor: UIColor, textColor: ...
0
votes
1
answer
205
views
Swift UI Tap Bar Border
I want to add a grey border to the top of the bottom tap bar in my iOS application. How can I do that with TabView and SwiftUI?
This is how my code looks like so far
struct MainView: View {
init ()...
0
votes
2
answers
82
views
how to align tabs in tabbar
I need to align tabs in tabbar like this:
First element on the left edge,
second on the center,
third in the right edge.
But I can align just like this
This is my code:
Expanded(
child: ...
0
votes
1
answer
24
views
Show "tutorial" over UITabBarViewController with constraints in Swift?
An example of tutorial I need:
It is MYPassthrough library.
The problem is it works with frames only but I need constraints (to bind to appropriate views directly without of frame calculations)
Tried ...
1
vote
0
answers
110
views
I want to make Tab bar like app store UIKit
I want the same color as in App Store. Gradient and background color and selected color and unselected color all the same.
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(...
0
votes
1
answer
2k
views
How can I make custom tabbed page in MAUI?
I created a tabbed page, and I am trying to achieve this kind of Bottom Tab Bar.
I manage to do this in Android using TabbedViewHandler, but there is an unwanted white layer behind the custom tab bar,...
1
vote
0
answers
102
views
iOS - UITabBarItem long titles overlap using UITabBarAppearance
Ever since iOS 15+, developers have had to explicitly set the UITabBar Appearance. Before this, longer titles on tabs would dynamically resize a bit to make sure they didn't overlap. Now, they just ...
0
votes
0
answers
87
views
How to add these capsule shape behind the selected tab bar item image
I want to make a tab bar with the following features:
selectd tab-bar item has this capsule shape around it's icon only , link to desired tab-bar
I am creating the tab bar programmatically. Can you ...
0
votes
1
answer
28
views
i pad tab bar unselected item color is not changing but working fine in iphone
i am using xcode version 14.3.1 . Minimum deployment target 12.0. in iphone everything is just working fine but in the i pad selected item color is changing but unselected item color is not changing.
...
-1
votes
1
answer
304
views
How can I change the unselected tabbar button color?
I want to change my unselected tabbar button color. And i did some research about that on Stackoverflow. I applied the suggestions to my code but for some reason i didn't work for me. For example, I ...
0
votes
1
answer
37
views
How to change UITabBar background color?
I have been following tutorials and it seems that when the instructor set up the tabbar, it automatically has color.
This tutorials was made in different xcode version, so It could be why it shows the ...