Bug 48149 - [UIAppearance appearanceWhenContainedInInstancesOfClasses] is not available in XiOS
Summary: [UIAppearance appearanceWhenContainedInInstancesOfClasses] is not available i...
Status: CONFIRMED
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll (show other bugs)
Version: XI 10.4 (C9)
Hardware: PC Windows
: Low enhancement
Target Milestone: Future Cycle (TBD)
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-11-28 07:33 UTC by Prashant [MSFT]
Modified: 2016-12-08 20:02 UTC (History)
4 users (show)

Tags:
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 for Bug 48149 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
CONFIRMED

Description Prashant [MSFT] 2016-11-28 07:33:22 UTC
GetApperanceWhenContainedIn method from the UIAppearance API is deprecated in iOS9 (confirmed on the Xamarin page at https://developer.xamarin.com/guides/ios/user_interface/introduction_to_the_appearance_api).

Apple state that [UIAppearance appearanceWhenContainedInInstancesOfClasses] should be used instead but this is not currently supported in Xamarin.iOS and I cannot find any reference to it being addressed.
Comment 1 Sebastien Pouliot 2016-12-08 20:02:55 UTC
What's the use case ?

The old API is used internally in our UIAppearance managed API. Since we support iOS6+ we won't* be switching the API we use (and break existing code on older OS).

* the new API is available (internally) when using tvOS (since it's available in all supported versions).