[NET 6 Attribute Conversion] CoreLocation (#13861)
This commit is contained in:
Родитель
5e384f9400
Коммит
39467f843f
|
@ -8,7 +8,13 @@ namespace CoreLocation {
|
|||
|
||||
public partial class CLBeaconRegion {
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("ios13.0")]
|
||||
[SupportedOSPlatform ("macos11.0")]
|
||||
[UnsupportedOSPlatform ("tvos")]
|
||||
#else
|
||||
[Introduced (PlatformName.iOS, 13,0, PlatformArchitecture.All)]
|
||||
#endif
|
||||
static public CLBeaconRegion Create (NSUuid uuid, ushort? major, ushort? minor, string identifier)
|
||||
{
|
||||
var handle = IntPtr.Zero;
|
||||
|
|
|
@ -72,10 +72,12 @@ namespace CoreLocation {
|
|||
|
||||
#if IOS && !COREBUILD // This code comes from Intents.CLPlacemark_INIntentsAdditions Category
|
||||
public partial class CLPlacemark {
|
||||
#if !NET
|
||||
[iOS (10, 0), Mac (11,0)]
|
||||
#else
|
||||
#if NET
|
||||
[SupportedOSPlatform ("ios10.0")]
|
||||
[SupportedOSPlatform ("macos11.0")]
|
||||
#else
|
||||
[iOS (10, 0)]
|
||||
[Mac (11,0)]
|
||||
#endif
|
||||
static public CLPlacemark GetPlacemark (CLLocation location, string name, CNPostalAddress postalAddress)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче