Skip to content

HealthKitUI iOS xcode15.0 b1

Haritha Mohan edited this page Sep 13, 2023 · 3 revisions

#HealthKitUI.framework https://github.com/xamarin/xamarin-macios/pull/19017

diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKitUI.framework/Headers/HKHealthStore+UIKit.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKitUI.framework/Headers/HKHealthStore+UIKit.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKitUI.framework/Headers/HKHealthStore+UIKit.h	1969-12-31 19:00:00
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKitUI.framework/Headers/HKHealthStore+UIKit.h	2023-05-31 05:54:37
@@ -0,0 +1,26 @@
+//
+//  HKHealthStore+UIKit.h
+//  HealthKit
+//
+//  Created by Srishti Gupta on 1/25/23.
+//  Copyright © 2023 Apple. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+#import <HealthKit/HealthKit.h>
+#import <Foundation/Foundation.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface HKHealthStore (UIKit)
+
+/*!
+@property      authorizationViewControllerPresenter
+@abstract      The view controller from which HealthKit authorization sheets will be presented
+@discussion    This property can be set before requesting authorization or running a query like HKDocumentQuery for a better user-experience. Since this property will ensure to infer the correct hosting view controller to show the authorization sheet.
+*/
+@property (nonatomic, weak, nullable) UIViewController *authorizationViewControllerPresenter API_AVAILABLE(ios(17.0));
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKitUI.framework/Headers/HealthKitUI.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKitUI.framework/Headers/HealthKitUI.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKitUI.framework/Headers/HealthKitUI.h	2023-03-09 00:24:26
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKitUI.framework/Headers/HealthKitUI.h	2023-05-31 05:54:37
@@ -6,3 +6,4 @@
 //
 
 #import <HealthKitUI/HKActivityRingView.h>
+#import <HealthKitUI/HKHealthStore+UIKit.h>
Clone this wiki locally