Type Method

setDisableActions(_:)

Sets whether actions triggered as a result of property changes made within this transaction group are suppressed.

Declaration

class func setDisableActions(_ flag: Bool)

Parameters

flag

true, if actions should be disabled.

Discussion

This is a convenience method that invokes setValue(_:forKey:) with an NSNumber containing a true for the kCATransactionDisableActions key.

See Also

Temporarily Disabling Property Animations

class func disableActions() -> Bool

Returns whether actions triggered as a result of property changes made within this transaction group are suppressed.

Beta Software

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