update adaptClientWidth for ios