Bug 38217 - CarouselPage BackgroundColor does not work on iOS
Summary: CarouselPage BackgroundColor does not work on iOS
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.0.0
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2016-01-30 08:49 UTC by adrianknight89
Modified: 2016-02-04 02:02 UTC (History)
5 users (show)

Tags: AC
Is this bug a regression?: ---
Last known good build:

Background color broken on iOS (186.01 KB, application/zip)
2016-01-30 08:49 UTC, adrianknight89

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description adrianknight89 2016-01-30 08:49:53 UTC
Created attachment 14810 [details]
Background color broken on iOS

Tested on with iOS 9.2

By default, iOS sets the background color to white. I'm setting it to Color.Fuchsia in App.cs, but it doesn't work. I created a custom renderer. Please see CustomCarouselPageRenderer.cs. You can uncomment background color change to see that the background is changing via custom renderer. To see the background color, you need to swipe far left or far right to reach the end of UIScrollView.

Android works fine. To see this, you can set one of the content page's background color to Transparent.

iOS needs to be fixed.
Comment 1 Rui Marinho 2016-02-04 02:02:15 UTC
Should be fixed in 2.2.0 pre1