Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 496 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 496 Bytes

UIButton-PLColor

iOS UIButton Category

== Description ==

Set the background color of any button by specifying a UIColor instead of a UIImage. Simple creates a small square bitmap image and assigns the color to it.

== How To ==

  1. Import header into your Prefix.pch
  2. Usage
    [button setBackgroundColor:uiTextColor forState:UIControlStateDisabled];
  1. Optional forStates to use:
UIControlStateNormal
UIControlStateHighlighted
UIControlStateDisabled
UIControlStateSelected