IOS Create gradient button
You will need to handle highlighting yourself. Rather than rolling
your own code though, you should check out Jeff Lamarche's incredibly
easy to use iPhone Gradient Buttons Project. It does exactly what you are trying to do. It's just 2 files, so it's easy to incorporate into your project:
http://code.google.com/p/iphonegradientbuttons/source/browse/trunk/Classes/GradientButton.h http://code.google.com/p/iphonegradientbuttons/source/browse/trunk/Classes/GradientButton.m
http://code.google.com/p/iphonegradientbuttons/source/browse/trunk/Classes/GradientButton.h http://code.google.com/p/iphonegradientbuttons/source/browse/trunk/Classes/GradientButton.m
Comments
Post a Comment