一般情况下,如果在view1上面添加了view2,但是view2超出了view1,也会在屏幕上面显示超出的部分 例如: UIButton *button =[[UIButton alloc]initWithFrame:CGRectMake(100, 400, 120, 30)];[self.view addSubview:button];UIButton * btn1 = [[UIButton alloc]initWithFrame:CGRectMake(button.frame.size.wi…