Survey solutions of device rotation under iOS based on the AlternateViews sample of Apple