码迷,mamicode.com
首页 > 其他好文 > 详细

xib中UIScrollView固定底部内容

时间:2016-05-27 23:28:13      阅读:271      评论:0      收藏:0      [点我收藏+]

标签:

UIScrollView的高度在xib中设置

需要固定的部分用代码添加:

UIImageView *textLogo = [[UIImageView alloc] initWithFrame:CGRectMake((kMSScreenWith - 153)/2, (kMSScreenHeight - 118 > 549 ? kMSScreenHeight : 667) - 173, 153, 35)];

textLogo.image = [UIImage imageNamed:@"ppb_textLogo"];

[self.introduceScrollView addSubview:textLogo];

技术分享

xib中UIScrollView固定底部内容

标签:

原文地址:http://www.cnblogs.com/qike/p/5536141.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!