Not able to identify the elements in Web View in IOS simulator

I am not able to locate any of the elements in the webview.

Appium version is:1.5.3
IOS 9.3
Xcode 7.3

below is code snippet:
DesiredCapabilities cap = new DesiredCapabilities();
cap.setCapability(“platformVersion”,“9.3”);
cap.setCapability(“platformName”, “iOS”);
cap.setCapability(“deviceName”, “iPad Retina”);
cap.setCapability(“appium-version”, “1.5.3”);
cap.setCapability(“app”,"/Users/abc/Desktop/xxx.app");
driver = new IOSDriver(new URL(“http://10.184.41.152:4444/wd/hub”),cap);

Set contextNames = ((IOSDriver) driver).getContextHandles();
int size1 = contextNames.size();
((AppiumDriver) driver).context((String)contextNames.toArray()[size1-1]);

when i try to locate element using xpath:
driver.findElement(By.xpath("//div[@id=‘xxxx’]")).getLocation();

i am getting no such element exception.