How to Automate UIADate picker Wheel selectValue function on a picker

I am Automating iOS application,i was unable to automate UIAPicker wheel ,i need to select particular value on picker in my project ,i have trying different paths…xpath’s,class names…etc.

only way i could was to use .setValue()…to date havent been able to pick a value that was on the list.

If this is your configuration,

{
Appium - > 1.7.1
XCUITestDriver - >2.51.1
}

try .sendkeys(“31”), this would do the needful.