Creating Buttons by looping through an array
问题 So I asked this question earlier, and got a few responses but things got really messy so I decided to re ask it here. I'm initializing a scrollview here: ScrollView=[[UIScrollView alloc]initWithFrame:CGRectMake(0,0,320,480)]; ScrollView.showsVerticalScrollIndicator=YES; ScrollView.scrollEnabled=YES; ScrollView.bounces = YES; ScrollView.userInteractionEnabled=YES; [self.view addSubview:ScrollView]; ScrollView.contentSize = CGSizeMake(10500,480); [self.view addSubview:homeButton]; I have arrays