can we adjust size of bottomAccessory

Asked on 2025-08-26

1 search

Yes, you can adjust the size of the bottom accessory in a UIKit app. To do this, you create a UITabAccessory with your content view and set the bottom accessory property on the UITabBarController. When the accessory is in line with the tab bar, there is less space available to display it, so you may need to adjust the content of your accessory view accordingly. You can observe changes to the Tab Accessory Environment Trait and update the view if needed. For more details, you can refer to the session Build a UIKit app with the new design.