摘要:
斯坦福大学公开课:iPad和iPhone应用开发(iOS5)http://v.163.com/special/opencourse/ipadandiphoneapplication.html 阅读全文
摘要:
默认情况下,不设置的效果,都使居中现实,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. 阅读全文