check for OS level for window display on IOS
tested and working