标签:
方法一.
-(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