- I have code that dynamically load 10 different textfields in viewdidload method
- 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
- 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
How to do this thing by code
any guidance helps me a lot
I'm stuck here