开发者

Align UIViews to left

开发者 https://www.devze.com 2023-01-04 17:24 出处:网络
I want align UIView\'s to left,开发者_如何学JAVA like the property align=\"left\" in html or float:left with css, it\'s possible in objective C?

I want align UIView's to left,开发者_如何学JAVA like the property align="left" in html or float:left with css, it's possible in objective C?

Note: the UIViews are dynamically loaded.


When you instantiate them, set the frame to something suitable. Also set autoresizingMask = UIViewAutoresizingFlexibleRightMargin.

0

精彩评论

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