When a supervisor is assigned to this UIButton ( [myView addSubview:button] ), UIKit most likely calls the [[button superview] class] , and compares this class with any custom appearance settings that it may have. In other words, if UIKit detects that the [[button superview] class] is equal to the [UYLRotatingViewController class] , it applies the appearance settings that you passed to this proxy object.
source share