How do i access the values of value picker and date picker in iOS

How do i access the values of value picker and date picker in iOS.

I am using the latest appium server 1.6.5 beta with XCUITestDriver (v2.28.7) .

The vale picker has 3 values in it.

I tried using the java script executor but cannot use it without knowing the xpath.

JavascriptExecutor js = (JavascriptExecutor) driver;
Map<String, Object> params = new HashMap<>();
params.put(“order”, “next”);
params.put(“offset”, 0.15);
params.put(“element”, ((RemoteWebElement) element).getId());
js.executeScript(“mobile: selectPickerWheelValue”, params);