cell適配不一樣的屏幕

解決的方案就是設置imageview的height值是根據windows的大小而改變的,一部分代碼:windows


  AppDelegate * app=(AppDelegate *)[UIApplication sharedApplication].delegate;app

    self.img.frame=CGRectMake(8, 6, 304, app.height/3.5) ;spa

相關文章
相關標籤/搜索