点击button 发亮效果 设置
点击一个home button的时候出现以上发亮效果;
具体设置:
UIButton *homeButton = [[UIButton alloc] initWithFrame:frame]; [homeButton setImage:[UIImage imageNamed:@"home.png"] forState:UIControlStateNormal]; homeButton.showsTouchWhenHighlighted = Yes;