2020-05-01から1ヶ月間の記事一覧
UIButtonを拡張して、UIControlStateHighlightedやUIControlStateDisabledにsetBackgroundColorで色を指定する方法です。 UIButtonの拡張クラス StateColorButton.h @interface StateColorButton : UIButton - (void)setBackgroundColor:(UIColor *)backgrou…
UIButtonを拡張して、UIControlStateHighlightedやUIControlStateDisabledにsetBackgroundColorで色を指定する方法です。 UIButtonの拡張クラス StateColorButton.h @interface StateColorButton : UIButton - (void)setBackgroundColor:(UIColor *)backgrou…