Bug 8086 - SetBackgroundImage on UIStepper and UIStepperAppearance should allow null
Summary: SetBackgroundImage on UIStepper and UIStepperAppearance should allow null
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: 6.1.x
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2012-10-30 19:40 UTC by Frank A. Krueger
Modified: 2012-11-01 05:58 UTC (History)
2 users (show)

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

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 Frank A. Krueger 2012-10-30 19:40:17 UTC
Passing null as the image parameter is how you clear the image, but this isn't allowed by the binding.
Comment 1 Rolf Bjarne Kvinge [MSFT] 2012-10-31 06:11:41 UTC
Null has been allowed for UIButton.SetBackgroundImage since 5.4 - do you have a test case where this happens for you?
Comment 2 Frank A. Krueger 2012-10-31 11:34:23 UTC
Sorry, I got the type wrong. I was working with UIStepper, not UIButton. It should allow null background images.

(I got confused because their appearance data is semi-shared due to composition.)
Comment 3 Rolf Bjarne Kvinge [MSFT] 2012-11-01 05:58:36 UTC

master: 2c921f1779027c8fd978e0ffc72aa8a6df3f1b3d
ios6: aea941da74d5d1eb9913f1f2c802bfd99833d09e