- Notifications
You must be signed in to change notification settings - Fork548
ScreenTime macOS xcode16.3 b2
Rolf Bjarne Kvinge edited this pageMar 20, 2025 ·2 revisions
#ScreenTime.frameworkhttps://github.com/dotnet/macios/pull/22443
diff -ruN /Applications/Xcode_16.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ScreenTime.framework/Headers/STWebHistory.h /Applications/Xcode_16.3.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ScreenTime.framework/Headers/STWebHistory.h--- /Applications/Xcode_16.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ScreenTime.framework/Headers/STWebHistory.h2025-02-07 23:45:11+++ /Applications/Xcode_16.3.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ScreenTime.framework/Headers/STWebHistory.h2025-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