Update views after device rotating
<p>I'm making an application which can be used in landscape and portrait. 
It's also possible to move some <code>views</code> in a <code>scrollView</code> (coordinates saved by <code>NSUserdefault</code>). </p>

<p>but I noticed 2 big problems: </p>

<p>1) when I change the orientation of the iPhone, my <code>views</code> reset to their first position. this problem is present only when i don't touch yet the <code>views</code>. If I touch a <code>views</code>, the other <code>views</code> change position when the iPhone rotate.</p>

<p>2) same problem but when I scroll. if I don't touch my <code>views</code> they change to old position when I scroll, and only once.
ps: after the problem, if I touch a view, all the views change to good position.</p>

<p>I hope I explained well because english is not my first language, so tell me if I forgot data.</p>

<p>Please help me to fix this. Thanks</p>