请查看Jeff LaMarche的博客,了解描述和代码: http://iphonedevelopment.blogspot.com/2010/05/improved-gradient-buttons.html 代码项目在这里: http://code.google.com/p/iphonegradientbuttons/