Contents

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