mainView_a-> ScrollView_b-> ScrollView_c-> View_d->按鈕
和按鈕touchUpInside我需要addSubView到ScrollView_b 是possigle後????
我試過[super.super addSubview:myNewView];
-(IBAction)showPhotoGallery:(id) sender
{
UIScrollView *photoGalleryScV = [[UIScrollView alloc] initWithFrame:CGRectMake(0, 0, 200, 800)];
photoGalleryScV.backgroundColor = [UIColor redColor];
[super.super addSubview:photoGalleryScV];
//[photoGalleryScV release];
}
它不工作:(