fix xcode warning, set portrait mode