現在、RAYWENDERLICH のCore Graphics 101: Glossy Buttonsを試していますが、プロジェクトでの使用に問題があります。これをプログラムで適用し、プログラムで画像を調整する方法がわかりません。
これが私のボタンです:
@interface CoolButtonViewController : UIViewController {
CoolButton *_button;
}
@property (retain) IBOutlet CoolButton *button;
@implementation CoolButtonViewController
@synthesize button = _button;
スライダーではなくプログラムで画像の色を編集する方法。