做了一个iPhone项目。我想要通过点击按钮加载一个UIView,充填一半屏幕。
2条回答 默认 最新
xinyoulingxi1_tong 2013-07-26 08:23关注UIView *customView =[UIView alloc]initWithFrame:CGRectMake(10,100,200,200);//Give frame according to your view customView.backgroundColor=[UIColor greenColor]; [Self.view addSubView: customView];本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报