Returns a new version of the image with the specified cap insets and options.
- iOS 6.0+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
The values to use for the cap insets.
The mode with which the interior of the image is resized.
A new image object with the specified cap insets and resizing mode.
This method is exactly the same as its counterpart
resizableImageWithCapInsets: except that the resizing mode of the new image object can be explicitly declared. You should only call this method in place of its counterpart if you specifically want your image to be resized with the
UIImageResizingModeStretch resizing mode.
Changing the Image Attributes
Returns a new version of the current image, replacing the current configuration attributes with the specified attributes.
A configuration object containing the traits that the system used when selecting the current image variant.
An object containing the specific font, size, style, and weight attributes to apply to a symbol image.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.Learn more about using Apple's beta software