SwapViewDemo,swap the View  for  rotate on ios