title: A question related to UITextfield
body: <ol>
  <li>I have code that dynamically load 10 different textfields in viewdidload method</li>
  <li>now if i click on any UITextfield and then autorotate device then my cursor should directly 
  come to that UITextfield when device rotates from portrait to landscape mode</li>
  <li>second case is that if i click on any UITextfield and then i click on return and then if i rotate my device from portrait to landscape mode then also it works as 1 st case</li>
  </ol>
  
  <p>How to do this thing by code<br>
  any guidance helps me a lot<br>
  I'm stuck here</p>