Xam.Shell.Badge icon indicating copy to clipboard operation
Xam.Shell.Badge copied to clipboard

iOS 15 Rendering Bug

Open darrabam opened this issue 4 years ago • 11 comments

Hi,

There seems to be a breaking change with iOS 15. If you run the sample project, you'll get this: image

It's not honoring the text color or the background color.

Could you please look into it? @galadril @SnowPowerCore @LukeWinthorpe

XF version: 5.0.0.2196

Thanks,

darrabam avatar Nov 07 '21 10:11 darrabam

Same here ;)

XF 5.0.0.2244

iOS 15 is a pain for a lot of nugets

jm-parent avatar Dec 03 '21 14:12 jm-parent

@darrabam, @jm-parent, can you confirm this isn't fixed by the 1.0.13 nuget package version?

SnowPowerCore avatar Jan 25 '22 21:01 SnowPowerCore

Hello, @darrabam, @jm-parent, i will close this issue, if the problem is still there for you, feel free to open a new issue, but i have already tested the latest 1.0.13 nuget package on iOS - it should be respecting the background and text colors.

SnowPowerCore avatar Feb 01 '22 17:02 SnowPowerCore

@SnowPowerCore Many thanks! I've tested 1.0.17 on my project, but unfortunately doesn't fix this issue. I'll open a new ticket with details as advised.

darrabam avatar Feb 19 '22 18:02 darrabam

@darrabam, thank you for replying, let's continue within this issue. I've updated the recent PR #31 with one change on how iOS handles the color to match the Android's behavior, so it may help you.

SnowPowerCore avatar Feb 20 '22 23:02 SnowPowerCore

@SnowPowerCore Unfortunately, still not fixed. I've tried Xam.Shell.Badge 1.0.18 with the latest Xamarin (5.0.0.2337) and Xcode 13.2.1, iOS SDK 15.2:

image

darrabam avatar Feb 23 '22 18:02 darrabam

We ran into this issue as well. iOS 15 has added a ScrollEdgeAppearance property to the UITabBar that causes this behavior. To get this to work, the UIColor needs to be applied to the UITabBar Standard Appearance - StackedLayoutAppearance, InlineLayoutAppearance, CompactInlineLayoutAppearance, StandardAppearance, AND (in iOS 15) the ScrollEdgeAppearance. If given the opportunity, I'll try to throw up a PR.

AaronBastian avatar Feb 28 '22 21:02 AaronBastian

@AaronBastian, you're free to create PR if you wish to help.

SnowPowerCore avatar Mar 12 '22 14:03 SnowPowerCore

Hello guys, @AaronBastian do you have any example for where to set the ScrollEdgeAppearance property? I've created a custom renderer and set that property there, but when running the app the badge isn't shown at all(

slprog1 avatar Mar 16 '22 13:03 slprog1

@AaronBastian, i will not be able to test this in the close future as i'm stuck on macOS 10.14, which doesn't support XCode 13, which is required for iOS 15.

SnowPowerCore avatar Apr 16 '22 08:04 SnowPowerCore

@AaronBastian, recently i've acquired ability to test stuff on the latest iOS, so i may return into this issue.

SnowPowerCore avatar Jun 08 '22 20:06 SnowPowerCore