UIButton的状态state

UIButton的selected=YES状态下高亮state为(UIControlStateHighlighted | UIControlStateSelected)

因为state都是位表示的  所以位与会产生很多不同的state,但是有些state是从来不出现的.

原文地址:https://www.cnblogs.com/Sunnyheart/p/6700759.html