LeoNatan/LNPopupController

Floating background color

Closed this issue · 7 comments

Describe the Bug
/// A color to use for the bar floating background. This color is composited over floatingBackgroundEffect.
@Property (nonatomic, readwrite, copy, nullable) UIColor* floatingBackgroundColor;

This does not seem to be the case. The background color is under the effect.

You need to call configureWithOpaqueFloatingBackground to get just a color, just like the system bars.

If you are seeing a bug, please post a screenshot.

Ah I think I understand what you mean. That’s the text that Apple uses in their header files, but it’s implemented to how I did it.

I see on my iOS 17 device that the color under the popup bar does not look like it does under the tab bar. So there is a bug. Will look into it, thanks!

Simulator Screenshot - iPhone 14 Pro Max - 2023-10-05 at 22 24 21
Simulator Screenshot - iPhone 14 Pro Max - 2023-10-05 at 22 26 28

I will push soon.

@iDevelopper Please test with 2.15.15. Thanks for reporting!

It seems to be better 😊