(IBAction)detailSongsButton:(id)sender {
switch (songsOrText) {
case 0:
_detailProductText.text = _songList;
_detailSongsButtonLabel.titleLabel.text = @"Album Info.";
// NSLog(@"_detaiSongsButtonLabel.titleLabel.text: %@",_detailSongsButtonLabel.titleLabel.text);
songsOrText = 1;
break;
case 1:
_detailProductText.text = _productText;
_detailSongsButtonLabel.titleLabel.text = @"Song List";
songsOrText = 0;
break;
default:
break;
}
}
问问题
42 次