CGRectMake

就是一个博客!

self.bannerView = [[BannerView alloc]initWithFrame:CGRectMake(0, 64, self.view.bounds.size.width, 50)]; CGRectMake中的函数: 0, 64, self.view.bounds.size.width, 50 x, y, width, height 如此对应设置。当然你用swift做的...

发布 0 条评论