Bug 48149 - [UIAppearance appearanceWhenContainedInInstancesOfClasses] is not available in XiOS
Summary: [UIAppearance appearanceWhenContainedInInstancesOfClasses] is not available i...
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
Depends on:
Reported: 2016-11-28 07:33 UTC by Prashant [MSFT]
Modified: 2016-12-08 20:02 UTC (History)
4 users (show)

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


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).

Note You need to log in before you can comment on or make changes to this bug.