Check out new features and enhancements.
- Apple News Format
- Apple News API
These features are newly added for the latest Apple News Format release:
Features Supported in iOS 13 and macOS 10.15
These features were added in previous releases:
The behavior of the
ignoreproperty of the ComponentLayout object has changed. In previous releases, this property made your content span the full width of a device screen. Starting with the current release,
ignoreallows a component to span the entire screen until the screen becomes wider than the document
widthcombined. To make the content span the full width of the device, you now use the new
ignoreproperty of the
Componentobject. See Align and Position Content and What Changed in iOS 13 and macOS 10.15.
Define conditions for a document-style object. See ConditionalDocumentStyle.
Control the text size for different devices by using the
fontproperty in ComponentTextStyle.
Use the value
systemto match the default font used by the operating system. See
curveproperty to change the type of curve to render the mask's corner. See CornerMask.
preferredproperty, to set the condition, based on the preferred color theme for the system (
dark). See Condition.
Define conditions to change the layout and appearance of your article. See Condition.
Define conditions for the divider component. See ConditionalDivider.
Provide a digital version of print advertisements by using the ReplicaAdvertisement component.
nonevalue to remove a previously set condition. For example, if a style contains a background color, you can remove that conditional color by using the
nonevalue. See Conditional Design Elements.
Define conditions as an instance or an array for the conditional component properties to apply. See Conditional Design Elements.
Use the parent width (
pw) unit to specify a measurement in relation to the width of the parent component. See Specifying Measurements for Components.
Display child components of
Aside, side by side, and horizontally. See HorizontalStackDisplay. To redistribute empty space inside a horizontal stack collection, you can use the FlexibleSpacer object.
Repeat an image as a background by using RepeatableImageFill.
Create a link to an article by using the ArticleLink object. To display the title of the linked article, use the ArticleTitle object. To display the thumbnail of an article, use the ArticleThumbnail object. See Creating an Article Link.
Deprecated Objects and Properties
These objects are no longer supported:
Advertisingobject is deprecated in favor of AutoPlacementLayout.
Advertisingobject is deprecated in favor of AdvertisementAutoPlacement.
Contentobject is deprecated in favor of the
paddingproperty of ComponentLayout.
Coverobject is deprecated because Featured Stories in Apple News is no longer supported.