解决的方案就是设置imageview的height值是根据windows的大小而改变的,一部分代码:windows
AppDelegate * app=(AppDelegate *)[UIApplication sharedApplication].delegate;app
self.img.frame=CGRectMake(8, 6, 304, app.height/3.5) ;spa