摘要: 斯坦福大学公开课:iPad和iPhone应用开发(iOS5)http://v.163.com/special/opencourse/ipadandiphoneapplication.html 阅读全文
posted @ 2013-06-06 18:23 Dadada胖纸er 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 默认情况下,不设置的效果,都使居中现实,button为150*150使用以下设置后:[selfsetTitleEdgeInsets:UIEdgeInsetsMake(0.0,-backGroundImag.size.width,0.0,0.0)]; [selfsetImageEdgeInsets:UIEdgeInsetsMake(0.0,0.0,0.0, -self.titleLabel.bounds.size.width)];若要title在图片的上方,则位置相对于图片来说,向上移动-80 [selfsetTitleEdgeInsets:UIEdgeInsetsMake( -80.0,-b. 阅读全文
posted @ 2013-06-06 16:09 Dadada胖纸er 阅读(1612) 评论(1) 推荐(0) 编辑