adapt to ipad