Skip to content

CNTabBar is not rendered well on iOS 18.3.2 #12

@huycozy

Description

@huycozy

It renders well on iOS 26 or 26.0.1. However, when I open app a lower iOS version, it's transparent and can't interact with items:

Image

Code in implementation:

CNTabBar(
        items: [
          CNTabBarItem(
            icon: CNSymbol('house.fill'),
            label: l10n?.home ?? 'Home',
          ),
          CNTabBarItem(
            icon: CNSymbol('testtube.2'),
            label: l10n?.tests ?? 'Tests',
          ),
          CNTabBarItem(
            icon: CNSymbol('chart.xyaxis.line'),
            label: l10n?.results ?? 'Results',
          ),
          CNTabBarItem(
            icon: CNSymbol('gear'),
            label: l10n?.settings ?? 'Settings',
          ),
        ],
        currentIndex: currentIndex,
        onTap: onTap,
      )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions