In my case the slider did not update the change of isEnabled field. Only this solution of viktor1995 works for me. layoutIfNeeded() alone was not enough.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: