Maybe you are searching for
caps.setCapability(IOSMobileCapabilityType.AUTO_ACCEPT_ALERTS, Boolean.TRUE);
or
wait.until(ExpectedConditions.alertIsPresent());
driver.findElementByAccessibilityId("Ignore").click();
not the best solution, but it is also a solution:
wait.until(ExpectedConditions.visibilityOfElementLocated(MobileBy.xpath("//UIAApplication[1]/UIAWindow[7]/UIAAlert[1]")));