开发者

iPhone orientation UILabel size

开发者 https://www.devze.com 2023-01-30 02:26 出处:网络
I have a UILabel inside a UItableviewcell. 开发者_如何学GoThe width of the label is 280px in portrait mode with a 20px margin on each side. How I can extend the width while keeping the same margin in

I have a UILabel inside a UItableviewcell. 开发者_如何学GoThe width of the label is 280px in portrait mode with a 20px margin on each side. How I can extend the width while keeping the same margin in landscape mode?


label.autoresizingMask = UIViewAutoresizingFlexibleWidth;
0

精彩评论

暂无评论...
验证码 换一张
取 消