[HealthKitUI] Add support for Xcode 15 (#19017)

Co-authored-by: GitHub Actions Autoformatter <github-actions-autoformatter@xamarin.com>
This commit is contained in:
Haritha Mohan 2023-09-18 08:34:32 -07:00 коммит произвёл GitHub
Родитель 8d7b3f8bca
Коммит e2dc23e651
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 11 добавлений и 4 удалений

Просмотреть файл

@ -17,6 +17,13 @@ using System;
using System.ComponentModel; using System.ComponentModel;
using CoreLocation; using CoreLocation;
using UniformTypeIdentifiers; using UniformTypeIdentifiers;
#if MONOMAC
using AppKit;
using UIViewController = AppKit.NSViewController;
#else
using UIKit;
using NSViewController = Foundation.NSObject;
#endif
#if !NET #if !NET
using NativeHandle = System.IntPtr; using NativeHandle = System.IntPtr;
@ -796,6 +803,10 @@ namespace HealthKit {
[iOS (17, 0), Mac (14, 0), Watch (10, 0), NoTV, MacCatalyst (17, 0)] [iOS (17, 0), Mac (14, 0), Watch (10, 0), NoTV, MacCatalyst (17, 0)]
[Export ("workoutSessionMirroringStartHandler", ArgumentSemantic.Copy)] [Export ("workoutSessionMirroringStartHandler", ArgumentSemantic.Copy)]
Action<HKWorkoutSession> WorkoutSessionMirroringStartHandler { get; set; } Action<HKWorkoutSession> WorkoutSessionMirroringStartHandler { get; set; }
[NoTV, NoWatch, NoMac, iOS (17, 0), MacCatalyst (17, 0)]
[NullAllowed, Export ("authorizationViewControllerPresenter")]
UIViewController AuthorizationViewControllerPresenter { get; set; }
} }
delegate void HKStoreSampleAddedCallback (bool success, NSError error); delegate void HKStoreSampleAddedCallback (bool success, NSError error);

Просмотреть файл

@ -1,2 +0,0 @@
!missing-selector! HKHealthStore::authorizationViewControllerPresenter not bound
!missing-selector! HKHealthStore::setAuthorizationViewControllerPresenter: not bound

Просмотреть файл

@ -1,2 +0,0 @@
!missing-selector! HKHealthStore::authorizationViewControllerPresenter not bound
!missing-selector! HKHealthStore::setAuthorizationViewControllerPresenter: not bound