摘要: UIButton右上方添加一个笑button如: UIButton *button =[UIButton buttonWithType:UIButtonTypeCustom]; button.frame= CGRectMake(100, 400, 120, 30); [self.view addSu 阅读全文
posted @ 2016-04-06 15:05 MakeKeyReuseable 阅读(302) 评论(0) 推荐(0)
摘要: 一般情况下,如果在view1上面添加了view2,但是view2超出了view1,也会在屏幕上面显示超出的部分 例如: UIButton *button =[[UIButton alloc]initWithFrame:CGRectMake(100, 400, 120, 30)];[self.view 阅读全文
posted @ 2016-04-06 13:43 MakeKeyReuseable 阅读(147) 评论(0) 推荐(0)