Instance Method

compress(withPrioritizedCompressionOptions:)

Compress the view by applying the specified compression options.

Required.

Declaration

func compress(withPrioritizedCompressionOptions prioritizedOptions: [NSUserInterfaceCompressionOptions])

Parameters

prioritizedOptions

An array of compression options that the view should apply to reduce its size.

Discussion

When the system calls this method, the view should resize itself according to the compression options supplied.

Compression options that are handled by the system are not included in the supplied array.