代码如下
UIView *footView =[[UIView alloc]initWithFrame:CGRectMake(0,rect.size.height-64-40, rect.size.width,40)]; UIView *footView =[[UIView alloc]init