方法一.
-(CGRect)imageRectForContentRect:(CGRect)contentRect {
return CGRectMake(self.width - kImageW, 0, kImageW, self.height);
}
-(CGRect)titleRectForContentRect:(CGRect)contentRect {
return CGRectMake(0, 0, self.width - kImageW, self.height);
}
原文:http://www.cnblogs.com/xiaoc1314/p/5664280.html
【说明】:本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!