0

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 upside down and landscape right.

Any ideas?

tshepang
  • 12,111
  • 21
  • 91
  • 136
Ward
  • 3,318
  • 3
  • 30
  • 50

1 Answers1

0

Use autoresizing.


(source: xanga.com)

Glorfindel
  • 21,988
  • 13
  • 81
  • 109
kennytm
  • 510,854
  • 105
  • 1,084
  • 1,005