Skip to content

Issue: iOS 18 / SDK 26 – Toolbar uses “liquid glass” material, icons become invisible #639

@amarjithzoondia

Description

@amarjithzoondia

On iOS 18 (SDK 26), the toolbar in TOCropViewController automatically adopts Apple’s new liquid glass material, which causes the toolbar buttons (rotate, reset, done, cancel) to become extremely dim or fully invisible depending on system appearance.

To disable the new iOS liquid design, I added:

UIDesignRequiresCompatibility

However, this only changes the toolbar background to solid black or white, and the icons still do not display correctly.

This makes the crop UI nearly unusable on iOS 18.

Steps to Reproduce

Present TOCropViewController with any image on an iOS 18 device or simulator.

Observe the toolbar:

It uses the iOS 18 liquid glass background.

Toolbar icons become very faint or invisible.

Add UIDesignRequiresCompatibility = YES to Info.plist.

Toolbar background switches to flat white/black, but icons still render incorrectly.

Expected Behavior

Toolbar should remain visually consistent with pre-iOS 18 versions.

Icons should remain fully visible in all appearances (light/dark).

Library should not automatically adopt liquid glass unless explicitly enabled.

Actual Behavior

Toolbar uses liquid glass material.

Button icons become low-contrast or disappear.

Compatibility mode removes the liquid background but still breaks icon rendering.

Setting toolbar.backgroundColor = .black does not override the system material.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions