开发者

UIButton Origin and Device Orientation

I have a view controller that is set to auto rotate to orientation. Inside I've got two subviews. One is a uibutton. All I want is for my button's origin to stay locked to the bottom-left in portrait and bottom-right in landscape (so it basically stays in the same place).

It should also stay in place for portrait upsi开发者_如何学Gode down and landscape right.

Any ideas?


Use autoresizing.

UIButton Origin and Device Orientation


(source: xanga.com)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜