我对其中的《纳巴倡议》和《view概览》寄了看法。 纳夫酒吧有一个分层的纽子,我想用它来在滚动会中展示的2个图像之间盘旋。 这两种图像都处于相同的滚动状态,但一幅是隐蔽的。
我试图这样做:
-(IBAction)segmentedControlIndexChanged{
switch (self.segmentedControl.selectedSegmentIndex)
{
case 0:
bvpiimg.hidden = NO;
mppiimg.hidden = YES;
case 1:
bvpiimg.hidden = YES;
mppiimg.hidden = NO;
break;
default:
break;
iii
iii
It isn t doing anything when I switch the segmented control though.. Also, these images are HUGE pngs.. Is there a better way than show/hide that would be easier on the memory/performance.