add ipad or iphone judge