-
Notifications
You must be signed in to change notification settings - Fork 522
ScreenTime iOS xcode16.3 b2
Rolf Bjarne Kvinge edited this page Mar 20, 2025
·
2 revisions
#ScreenTime.framework https://github.com/dotnet/macios/pull/22443
diff -ruN /Applications/Xcode_16.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ScreenTime.framework/Headers/STWebHistory.h /Applications/Xcode_16.3.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ScreenTime.framework/Headers/STWebHistory.h
--- /Applications/Xcode_16.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ScreenTime.framework/Headers/STWebHistory.h 2025-02-08 08:06:05
+++ /Applications/Xcode_16.3.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ScreenTime.framework/Headers/STWebHistory.h 2025-02-26 06:21:49
@@ -67,6 +67,16 @@
- (nullable instancetype)initWithBundleIdentifier:(NSString *)bundleIdentifier error:(NSError **)error;
// -init uses NSBundle.mainBundle.bundleIdentifier as the bundle identifier.
+/// Fetches web history that occurred during the date interval you specify.
+///
+/// - Parameters:
+/// - interval: The date interval of web history you want to fetch.
+- (void)fetchHistoryDuringInterval:(NSDateInterval *)interval completionHandler:(void (^)(NSSet<NSURL *> * _Nullable urls, NSError * _Nullable error))completionHandler API_AVAILABLE(macos(15.4), ios(18.4)) NS_SWIFT_NAME(deleteHistory(during:completionHandler:));
+
+/// Fetches all web history associated with the bundle identifier and profile identifier
+/// you specified during initialization.
+- (void)fetchAllHistoryWithCompletionHandler:(void (^)(NSSet<NSURL *> * _Nullable urls, NSError * _Nullable error))completionHandler API_AVAILABLE(macos(15.4), ios(18.4));
+
/// Deletes all the web history for the URL you specify.
///
/// The framework references the entire URL to determine which web-usage data to