[btn addTarget:self action:@selector(searchButtonClick) forControlEvents:UIControlEventTouchUpInside];
[btn setImage:[UIImage imageNamed:@"Icon"] forState:UIControlStateNormal];
[btn setImage:[UIImage imageNamed:@"Icon"] forState:UIControlStateSelected];
时间: 2024-10-10 07:21:02