Documentation Archive Developer
Search

MediaAccessibility Changes for Objective-C

MediaAccessibility

MAAudibleMedia.h

Declaration
From
CFArrayRef MAAudibleMediaCopyPreferredCharacteristics (
    void
);
To
CFArrayRef _Nonnull MAAudibleMediaCopyPreferredCharacteristics (
    void
);

MACaptionAppearance.h

Declaration
From
bool MACaptionAppearanceAddSelectedLanguage (
    MACaptionAppearanceDomain domain,
    CFStringRef language
);
To
bool MACaptionAppearanceAddSelectedLanguage (
    MACaptionAppearanceDomain domain,
    CFStringRef _Nonnull language
);

Declaration
From
CGColorRef MACaptionAppearanceCopyBackgroundColor (
    MACaptionAppearanceDomain domain,
    MACaptionAppearanceBehavior *behavior
);
To
CGColorRef _Nonnull MACaptionAppearanceCopyBackgroundColor (
    MACaptionAppearanceDomain domain,
    MACaptionAppearanceBehavior * _Nullable behavior
);

Declaration
From
CTFontDescriptorRef MACaptionAppearanceCopyFontDescriptorForStyle (
    MACaptionAppearanceDomain domain,
    MACaptionAppearanceBehavior *behavior,
    MACaptionAppearanceFontStyle fontStyle
);
To
CTFontDescriptorRef _Nonnull MACaptionAppearanceCopyFontDescriptorForStyle (
    MACaptionAppearanceDomain domain,
    MACaptionAppearanceBehavior * _Nullable behavior,
    MACaptionAppearanceFontStyle fontStyle
);

Declaration
From
CGColorRef MACaptionAppearanceCopyForegroundColor (
    MACaptionAppearanceDomain domain,
    MACaptionAppearanceBehavior *behavior
);
To
CGColorRef _Nonnull MACaptionAppearanceCopyForegroundColor (
    MACaptionAppearanceDomain domain,
    MACaptionAppearanceBehavior * _Nullable behavior
);

Declaration
From
CFArrayRef MACaptionAppearanceCopyPreferredCaptioningMediaCharacteristics (
    MACaptionAppearanceDomain domain
);
To
CFArrayRef _Nonnull MACaptionAppearanceCopyPreferredCaptioningMediaCharacteristics (
    MACaptionAppearanceDomain domain
);

Declaration
From
CFArrayRef MACaptionAppearanceCopySelectedLanguages (
    MACaptionAppearanceDomain domain
);
To
CFArrayRef _Nonnull MACaptionAppearanceCopySelectedLanguages (
    MACaptionAppearanceDomain domain
);

Declaration
From
CGColorRef MACaptionAppearanceCopyWindowColor (
    MACaptionAppearanceDomain domain,
    MACaptionAppearanceBehavior *behavior
);
To
CGColorRef _Nonnull MACaptionAppearanceCopyWindowColor (
    MACaptionAppearanceDomain domain,
    MACaptionAppearanceBehavior * _Nullable behavior
);

Declaration
From
CGFloat MACaptionAppearanceGetBackgroundOpacity (
    MACaptionAppearanceDomain domain,
    MACaptionAppearanceBehavior *behavior
);
To
CGFloat MACaptionAppearanceGetBackgroundOpacity (
    MACaptionAppearanceDomain domain,
    MACaptionAppearanceBehavior * _Nullable behavior
);

Declaration
From
CGFloat MACaptionAppearanceGetForegroundOpacity (
    MACaptionAppearanceDomain domain,
    MACaptionAppearanceBehavior *behavior
);
To
CGFloat MACaptionAppearanceGetForegroundOpacity (
    MACaptionAppearanceDomain domain,
    MACaptionAppearanceBehavior * _Nullable behavior
);

Declaration
From
CGFloat MACaptionAppearanceGetRelativeCharacterSize (
    MACaptionAppearanceDomain domain,
    MACaptionAppearanceBehavior *behavior
);
To
CGFloat MACaptionAppearanceGetRelativeCharacterSize (
    MACaptionAppearanceDomain domain,
    MACaptionAppearanceBehavior * _Nullable behavior
);

Declaration
From
MACaptionAppearanceTextEdgeStyle MACaptionAppearanceGetTextEdgeStyle (
    MACaptionAppearanceDomain domain,
    MACaptionAppearanceBehavior *behavior
);
To
MACaptionAppearanceTextEdgeStyle MACaptionAppearanceGetTextEdgeStyle (
    MACaptionAppearanceDomain domain,
    MACaptionAppearanceBehavior * _Nullable behavior
);

Declaration
From
CGFloat MACaptionAppearanceGetWindowOpacity (
    MACaptionAppearanceDomain domain,
    MACaptionAppearanceBehavior *behavior
);
To
CGFloat MACaptionAppearanceGetWindowOpacity (
    MACaptionAppearanceDomain domain,
    MACaptionAppearanceBehavior * _Nullable behavior
);

Declaration
From
CGFloat MACaptionAppearanceGetWindowRoundedCornerRadius (
    MACaptionAppearanceDomain domain,
    MACaptionAppearanceBehavior *behavior
);
To
CGFloat MACaptionAppearanceGetWindowRoundedCornerRadius (
    MACaptionAppearanceDomain domain,
    MACaptionAppearanceBehavior * _Nullable behavior
);