API Differences in ScreenTime in macOS 15.4

It can be difficult to find what changed in Apple SDKs. These pages are algorithmically generated and show what is new in ScreenTime in the macOS 15.4 SDK.

Table of Contents

Typealiases

typedef NSString *STWebHistoryProfileIdentifier

Functions & Methods

STWebHistory
- (void)fetchHistoryDuringInterval:(nonnull NSDateInterval *)interval completionHandler:(nonnull void (^)(NSSet<NSURL *> * _Nullable, NSError * _Nullable))completionHandler;
STWebHistory
- (void)fetchAllHistoryWithCompletionHandler:(nonnull void (^)(NSSet<NSURL *> * _Nullable, NSError * _Nullable))completionHandler;

Properties & Constants

STWebpageController
@property(nonatomic, copy, readwrite, nullable) STWebHistoryProfileIdentifier profileIdentifier;

Initializers

STWebHistory
- (nullable instancetype)initWithBundleIdentifier:(nonnull NSString *)bundleIdentifier profileIdentifier:(nullable STWebHistoryProfileIdentifier)profileIdentifier error:(NSError * _Nullable * _Nullable)error;
STWebHistory
- (nonnull instancetype)initWithProfileIdentifier:(nullable STWebHistoryProfileIdentifier)profileIdentifier;