ios - When using auto layout I am not getting correct response after one complete rotation -
i have been using auto layout feature storyboard .now added in view controller , added width , height constraints 300 , 200 respectively,thereafter added horizontal , vertical alignment contraint .all works in 1 rotation i.e portrait,landscape,upside down , upside rotation completes response changes .i attaching screenshot reference. its seems testing simulator , please try same scenario device . may problem occurring in simulator .